++ content

This commit is contained in:
Nico Schottelius 2019-07-31 13:23:35 +02:00
parent 9e944c99ac
commit 75f0a6e227
5 changed files with 19 additions and 4 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "themes/pelican-alchemy"]
path = themes/pelican-alchemy
url = https://github.com/nairobilug/pelican-alchemy

View File

@ -42,6 +42,10 @@ help:
@echo 'Set the RELATIVE variable to 1 to enable relative urls '
@echo ' '
chmod: publish
find output -type f -exec chmod 0644 {} \;
find output -type d -exec chmod 0755 {} \;
html:
$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
@ -76,11 +80,11 @@ endif
publish:
$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS)
ssh_upload: publish
ssh_upload: chmod
scp -P $(SSH_PORT) -r $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)
rsync_upload: publish
rsync_upload: chmod
rsync -e "ssh -p $(SSH_PORT)" -P -rvzc --cvs-exclude --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)
.PHONY: html help clean regenerate serve serve-global devserver stopserver publish ssh_upload rsync_upload
.PHONY: html help clean regenerate serve serve-global devserver stopserver publish ssh_upload rsync_upload

5
content/test.md Normal file
View File

@ -0,0 +1,5 @@
Title: My First Review
Date: 2010-12-03 10:20
Category: Review
Following is a review of my favorite mechanical keyboard.

View File

@ -32,4 +32,6 @@ SOCIAL = (('You can add links in your config file', '#'),
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
#RELATIVE_URLS = True
THEME = '/home/nico/hacker-hotel-diesbach-room/hack-digitalglarus-pelican/themes/pelican-alchemy/alchemy'

@ -0,0 +1 @@
Subproject commit 6a3e2bb31ab51c8a70270d5c6ce6c30ce27324cf