diff --git a/config.toml b/config.toml index f76245e..c81fd4b 100644 --- a/config.toml +++ b/config.toml @@ -5,6 +5,10 @@ theme = "pure" [params] [params.links] +[params.links.resume] +priority = 10 +title = "Résumé" +url = "https://sothr.com/resume/" [params.links.linkedin] title = "LinkedIn" image = "assets/img/linkedin.png" diff --git a/themes/pure/layouts/_default/baseof.html b/themes/pure/layouts/_default/baseof.html index 3de0b9e..bae72d1 100644 --- a/themes/pure/layouts/_default/baseof.html +++ b/themes/pure/layouts/_default/baseof.html @@ -2,7 +2,9 @@ {{- partial "head.html" . -}} - {{- partial "header.html" . -}} +
@@ -10,6 +12,8 @@
- {{- partial "footer.html" . -}} + diff --git a/themes/pure/layouts/partials/footer.html b/themes/pure/layouts/partials/footer.html index e69de29..231a01c 100644 --- a/themes/pure/layouts/partials/footer.html +++ b/themes/pure/layouts/partials/footer.html @@ -0,0 +1,5 @@ +
+
+ © 2014 - Present Drew Short ALL RIGHTS RESERVED. +
+
diff --git a/themes/pure/layouts/partials/head.html b/themes/pure/layouts/partials/head.html index 867f192..643bbdd 100644 --- a/themes/pure/layouts/partials/head.html +++ b/themes/pure/layouts/partials/head.html @@ -18,14 +18,17 @@ {{ range where .Site.Pages "Type" "navLink" }}
  • {{ .Title }}
  • {{ end }} - {{ range .Site.Params.links }} + {{ range sort .Site.Params.links "priority" "desc" }}
  • + {{ if .image }} - {{ if .image }} - {{ else }} + + {{ else }} + {{ .title }} - {{ end }} + + {{ end }}
  • {{ end }} diff --git a/themes/pure/static/assets/css/style.css b/themes/pure/static/assets/css/style.css index e4d9dba..30eb0a5 100644 --- a/themes/pure/static/assets/css/style.css +++ b/themes/pure/static/assets/css/style.css @@ -23,4 +23,25 @@ nav ul li a img { nav ul li a img:hover { background: #eee; +} + +#container { + min-height: 100%; + position: relative; +} + +#body { + padding: 10px; + padding-bottom: 2em; /* Height of the footer */ +} + +#footer { + position: absolute; + bottom: 0; + width: 100%; + height: 2em; /* Height of the footer */ +} + +.text-align-right { + text-align: right; } \ No newline at end of file