aboutsummaryrefslogtreecommitdiffgithub
diff options
context:
space:
mode:
authorAustin Adams <git@austinjadams.com>2017-02-28 17:14:51 -0500
committerAustin Adams <git@austinjadams.com>2017-02-28 17:14:51 -0500
commitc17c6cad93fa257dde2364a934c63280b75e9e64 (patch)
tree16543a4f593c624c99c388cfd85b830299d40465
parent6265923ee893e89feb3a02f0f8f7fba7e30ecffe (diff)
downloadwebzone-c17c6cad93fa257dde2364a934c63280b75e9e64.tar.gz
webzone-c17c6cad93fa257dde2364a934c63280b75e9e64.tar.xz
Move tagline text to config.toml
To make future modification easier, move the tagline to config.toml. And don't capitalize "Student" for no reason.
-rw-r--r--config.toml1
-rw-r--r--layouts/partials/layout.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/config.toml b/config.toml
index 39960a9..7cdefd7 100644
--- a/config.toml
+++ b/config.toml
@@ -8,4 +8,5 @@ disableSitemap = true
[params]
homeurl = "/"
+tagline = "Georgia Tech student, programmer, GNU/Linux finesser"
description = "Austin Adams's personal website and blog"
diff --git a/layouts/partials/layout.html b/layouts/partials/layout.html
index e498b85..3f4163d 100644
--- a/layouts/partials/layout.html
+++ b/layouts/partials/layout.html
@@ -38,7 +38,7 @@
{{ if $isBlog }}
<div id="tagline"><a href="/blog/">The Blog</a></div>
{{ else }}
- <div id="tagline">Georgia Tech Student, programmer, GNU/Linux finesser</div>
+ <div id="tagline">{{ .Site.Params.tagline }}</div>
{{ end }}
<nav>
<ul id="navigation">