From 3a5fabf3c6f4f60a64885a52c76ba6dab8b71099 Mon Sep 17 00:00:00 2001 From: Horus Date: Thu, 20 Oct 2016 18:08:36 +0200 Subject: Initial commit. --- .gitignore | 6 + Makefile | 22 ++ config.toml | 10 + content/projects.md | 43 +++ error.sh | 7 + layouts/404.html | 9 + layouts/index.html | 24 ++ layouts/page/list.html | 7 + layouts/page/single.html | 7 + layouts/partials/css.tmpl | 661 ++++++++++++++++++++++++++++++++++++++++++ layouts/partials/favicon.tmpl | 2 + layouts/partials/footer.tmpl | 3 + layouts/partials/header.tmpl | 10 + layouts/projects.html | 39 +++ log/.gitkeep | 0 static/robots.txt | 9 + 16 files changed, 859 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 config.toml create mode 100644 content/projects.md create mode 100755 error.sh create mode 100644 layouts/404.html create mode 100644 layouts/index.html create mode 100644 layouts/page/list.html create mode 100644 layouts/page/single.html create mode 100644 layouts/partials/css.tmpl create mode 100644 layouts/partials/favicon.tmpl create mode 100644 layouts/partials/footer.tmpl create mode 100644 layouts/partials/header.tmpl create mode 100644 layouts/projects.html create mode 100644 log/.gitkeep create mode 100644 static/robots.txt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a33931a --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +*.swp +*~ +*.log + +_/ +public/ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..02e91c9 --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +all: clean build + +build: + hugo --ignoreCache --log=true --logFile=./log/hugo.log --verbose=false 1>/dev/null + +clean: + rm -rf public + +list: + ls public + +index: + cat public/index.html + +deploy: clean build + if [ -d /var/www/www.iamfabulous.de ]; then\ + ( rsync --delete -avz public/ /var/www/www.iamfabulous.de/ 1>/dev/null 2>/dev/null && \ + echo "Success: Site www.iamfabulous.de was built.") || ./error.sh; \ + else \ + rsync --delete -avze ssh public/ online:/var/www/www.iamfabulous.de.de/; \ + fi + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..b2893f7 --- /dev/null +++ b/config.toml @@ -0,0 +1,10 @@ +baseurl = "https://www.iamfabulous.de/" +languageCode = "en-us" +title = "moehring" +disableHugoGeneratorInject = true +disableRSS = true +disableSitemap = true + +[params] + language = "en-us" + diff --git a/content/projects.md b/content/projects.md new file mode 100644 index 0000000..536d838 --- /dev/null +++ b/content/projects.md @@ -0,0 +1,43 @@ ++++ +date = "2016-10-20T15:44:19+02:00" +draft = false +title = "projects" +type = "page" +layout = "single" + + ++++ + +
+ go back +
diff --git a/error.sh b/error.sh new file mode 100755 index 0000000..4d1397d --- /dev/null +++ b/error.sh @@ -0,0 +1,7 @@ +#!/bin/bash +msg="Failure: Could not built site gospeladlershof.de." +attach=$(cat log/hugo.log) + +echo "$msg" +echo "" +echo "$attach" diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..e831189 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,9 @@ +{{partial "header.tmpl" .}} +404 - not found
welcome
{{.Title}}
{{.Title}}