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


+ +{{partial "footer.tmpl"}} + diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..76d78a1 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,24 @@ +{{partial "header.tmpl" .}} +

welcome


+ +{{partial "footer.tmpl"}} + diff --git a/layouts/page/list.html b/layouts/page/list.html new file mode 100644 index 0000000..32d2367 --- /dev/null +++ b/layouts/page/list.html @@ -0,0 +1,7 @@ +{{partial "header.tmpl" .}} +

{{.Title}}


+ +{{partial "footer.tmpl"}} + diff --git a/layouts/page/single.html b/layouts/page/single.html new file mode 100644 index 0000000..32d2367 --- /dev/null +++ b/layouts/page/single.html @@ -0,0 +1,7 @@ +{{partial "header.tmpl" .}} +

{{.Title}}


+ +{{partial "footer.tmpl"}} + diff --git a/layouts/partials/css.tmpl b/layouts/partials/css.tmpl new file mode 100644 index 0000000..ba15e18 --- /dev/null +++ b/layouts/partials/css.tmpl @@ -0,0 +1,661 @@ + + + diff --git a/layouts/partials/favicon.tmpl b/layouts/partials/favicon.tmpl new file mode 100644 index 0000000..a542acd --- /dev/null +++ b/layouts/partials/favicon.tmpl @@ -0,0 +1,2 @@ + + diff --git a/layouts/partials/footer.tmpl b/layouts/partials/footer.tmpl new file mode 100644 index 0000000..69aae56 --- /dev/null +++ b/layouts/partials/footer.tmpl @@ -0,0 +1,3 @@ + + + diff --git a/layouts/partials/header.tmpl b/layouts/partials/header.tmpl new file mode 100644 index 0000000..47ee061 --- /dev/null +++ b/layouts/partials/header.tmpl @@ -0,0 +1,10 @@ + + + + + +moehring | {{.Title}} +{{partial "favicon.tmpl"}} +{{partial "css.tmpl"}} + + diff --git a/layouts/projects.html b/layouts/projects.html new file mode 100644 index 0000000..103c7e0 --- /dev/null +++ b/layouts/projects.html @@ -0,0 +1,39 @@ + +{{partial "header.tmpl" "projects"}} +

projects


+ +{{partial "footer.tmpl"}} diff --git a/log/.gitkeep b/log/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 0000000..0a8d8b8 --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,9 @@ +# A robot may not injure a human being or through inaction allow a human being to come to harm. +# A robot must obey the orders given it by human beings, except where such orders would conflict with the First Law +# A robot must protect its own existence, as long as such protection does not conflict with the First or Second Laws. + +User-agent: * +Disallow: / + +User-agent: nsa +Disallow: / -- cgit v1.2.3