organized: local dev. -> make serve
online dev. -> make sftp_upload
This commit is contained in:
parent
a1057e3041
commit
616ed8f90f
3 changed files with 4 additions and 6 deletions
2
Makefile
2
Makefile
|
|
@ -52,7 +52,7 @@ clean:
|
|||
regenerate:
|
||||
$(PELICAN) -r $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
|
||||
|
||||
serve:
|
||||
serve: html
|
||||
ifdef PORT
|
||||
$(PELICAN) -l $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -p $(PORT)
|
||||
else
|
||||
|
|
|
|||
|
|
@ -4,8 +4,7 @@ from __future__ import unicode_literals
|
|||
|
||||
AUTHOR = 'D'
|
||||
SITENAME = 'lost|traIn'
|
||||
SITEURL = 'https://nosignal.hopto.org/site/losttrain'
|
||||
#SITEURL = 'localhost:8000'
|
||||
SITEURL = 'http://localhost:8000'
|
||||
|
||||
PATH = 'content'
|
||||
OUTPUT_PATH = 'public'
|
||||
|
|
@ -51,6 +50,6 @@ PLUGINS = ['assets']
|
|||
|
||||
# THEME (custom;originally 'monospace')
|
||||
#THEME = "./themes/white"
|
||||
THEME = "./themes/aurora"
|
||||
#THEME = "./themes/yoshi"
|
||||
#THEME = "./themes/aurora"
|
||||
THEME = "./themes/yoshi"
|
||||
#THEME = "./themes/moe-dark"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ sys.path.append(os.curdir)
|
|||
from pelicanconf import *
|
||||
|
||||
SITEURL = '/site/losttrain'
|
||||
#SITEURL = '/'
|
||||
RELATIVE_URLS = False
|
||||
|
||||
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
||||
|
|
|
|||
Loading…
Reference in a new issue