diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..fc5e410 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/pelican-alchemy"] + path = themes/pelican-alchemy + url = https://github.com/nairobilug/pelican-alchemy diff --git a/Makefile b/Makefile index 24d2edb..c37afba 100644 --- a/Makefile +++ b/Makefile @@ -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 \ No newline at end of file +.PHONY: html help clean regenerate serve serve-global devserver stopserver publish ssh_upload rsync_upload diff --git a/content/test.md b/content/test.md new file mode 100644 index 0000000..26c1f02 --- /dev/null +++ b/content/test.md @@ -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. diff --git a/pelicanconf.py b/pelicanconf.py index 8f34cc4..e6da322 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -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 \ No newline at end of file +#RELATIVE_URLS = True + +THEME = '/home/nico/hacker-hotel-diesbach-room/hack-digitalglarus-pelican/themes/pelican-alchemy/alchemy' diff --git a/themes/pelican-alchemy b/themes/pelican-alchemy new file mode 160000 index 0000000..6a3e2bb --- /dev/null +++ b/themes/pelican-alchemy @@ -0,0 +1 @@ +Subproject commit 6a3e2bb31ab51c8a70270d5c6ce6c30ce27324cf