summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorus32016-10-22 14:31:44 +0200
committerHorus32016-10-22 14:31:44 +0200
commitc961514c19e34f18c794b4a3ce79a4e07307bc5c (patch)
treeec98da573e65ab97755278d93182b6ef8934ff92
parent6c577a65339ac597ac622fb839393f931562cf8e (diff)
downloadiamfabulous.de-c961514c19e34f18c794b4a3ce79a4e07307bc5c.tar.gz
Journal links back to main page.
-rw-r--r--Makefile2
-rw-r--r--config.toml5
-rw-r--r--layouts/404.html2
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/page/list.html7
-rw-r--r--layouts/page/single.html7
-rw-r--r--static/custom.css7
7 files changed, 13 insertions, 19 deletions
diff --git a/Makefile b/Makefile
index 639a59e..2b66eb3 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ build: clean
@# Concat all CSS files
gulp concat
@# Build the HTML the first time to be ...
- HUGO_GULP=0 hugo --ignoreCache --log=true --logFile=./log/hugo.log --verbose=false 1>/dev/null
+ HUGO_GULP=0 hugo --ignoreCache --log=true --logFile=./log/hugo.log --verbose=false #1>/dev/null
@# ... spidered by uncss to remove the unnecessary selector rules.
gulp uncss
@# Builds the site again, but this time the minified CSS will be inlined by Hugo.
diff --git a/config.toml b/config.toml
index 22bb5e0..248c7df 100644
--- a/config.toml
+++ b/config.toml
@@ -3,10 +3,11 @@ languageCode = "en-us"
title = "welcome"
disableHugoGeneratorInject = true
disableRSS = false
-disableSitemap = true
+disableSitemap = false
edit = "vim"
-pluralizeListTitles = "false"
+pluralizeListTitles = false
paginate = 5
+relativeURLs = "false"
[params]
language = "en-us"
diff --git a/layouts/404.html b/layouts/404.html
index 3171635..e30cc74 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -29,7 +29,7 @@ _ ___ _.--.
<div class="container">
<div class="row center">
<p class="twelve columns" style="margin-top: 20px">
- <a class="button" href="/" title="back to index">click to go back</a>
+ <a class="button" href="{{$.Site.BaseURL}}" title="back to index">click to go back</a>
</p>
</div>
</div>
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 4f9b3aa..0c2fc41 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,6 +1,6 @@
{{partial "header.tmpl" .}}
<div class="row">
- <header><p>journal</p></header>
+ <header><p><a href="{{$.Site.BaseURL}}" class="black-link header-link" title="go back">journal</a></p></header>
</div>
{{ range .Data.Pages }}
<div class="container journal">
diff --git a/layouts/page/list.html b/layouts/page/list.html
deleted file mode 100644
index 32d2367..0000000
--- a/layouts/page/list.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{{partial "header.tmpl" .}}
-<header><p>{{.Title}}</p><br></header>
- <nav>
- {{.Content}}
- </nav>
-{{partial "footer.tmpl"}}
-
diff --git a/layouts/page/single.html b/layouts/page/single.html
deleted file mode 100644
index 32d2367..0000000
--- a/layouts/page/single.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{{partial "header.tmpl" .}}
-<header><p>{{.Title}}</p><br></header>
- <nav>
- {{.Content}}
- </nav>
-{{partial "footer.tmpl"}}
-
diff --git a/static/custom.css b/static/custom.css
index 57fde38..588ab52 100644
--- a/static/custom.css
+++ b/static/custom.css
@@ -77,6 +77,13 @@ a:hover {
text-shadow: 0 0 2px #1f1f1f;
transition: text-shadow 1s;
}
+.header-link {
+ font-size: inherit;
+}
+.header-link:hover {
+ text-decoration: none;
+ text-shadow: 0 0 5px #1f1f1f;
+}
.meta {
color: #3f3f3f;
font-size: 0.8em;