Commit 4d2a67d2 authored by Ricardo Lafuente's avatar Ricardo Lafuente

Move to Pelican master version to have static links

parent 4b0f0c72
......@@ -90,9 +90,9 @@ ssh_upload: publish
scp -P $(SSH_PORT) -r $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)
rsync_upload: publish
rsync -e "ssh -p $(SSH_PORT)" -P -rvzc --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude
rsync -e "ssh -p $(SSH_PORT)" -P -rvzc --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude --copy-links
rsync_upload_dry: publish
rsync -n -e "ssh -p $(SSH_PORT)" -P -rvzc --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude
rsync -n -e "ssh -p $(SSH_PORT)" -P -rvzc --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude --copy-links
.PHONY: build help clean regenerate serve devserver publish ssh_upload rsync_upload rsync_upload_dry
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
import os
......@@ -9,8 +10,14 @@ PATH = 'content'
THEME = 'theme/lgmag'
BASE_PATH = os.path.dirname(os.path.realpath(__file__))
OUTPUT_PATH = "output/"
CACHE_CONTENT = True
CACHE_PATH = "cache/"
# caching
# CACHE_CONTENT = True
# LOAD_CONTENT_CACHE = True
# CONTENT_CACHING_LAYER = 'generator'
# CHECK_MODIFIED_METHOD = 'md5'
STATIC_CHECK_IF_MODIFIED = True
STATIC_CREATE_LINKS = True
''' Content '''
......
pelican==3.7.1
git+git://github.com/getpelican/pelican
webassets==0.12.1
pyScss==1.3.5
Markdown==2.6.9
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment