From 84be74f1ccdf30857c3107135d85743f98db599e Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 15 May 2017 09:29:18 +0100 Subject: [PATCH] Better linking on index --- layouts/index.html | 46 +++++++++++++++++++++----------------- static/src/scss/style.scss | 8 +++++++ 2 files changed, 34 insertions(+), 20 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 45579a3..9750357 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -16,33 +16,39 @@
- -

Blog

-

- {{ with .Site.GetPage "section" "posts" }} - {{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }} - {{ end }} -

+ {{ with .Site.GetPage "section" "posts" }} + + +

Blog

+
+

+ {{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }} +

+ {{ end }}
- -

Projects

-

- {{ with .Site.GetPage "section" "projects" }} + {{ with .Site.GetPage "section" "projects" }} + + +

Projects

+ +

{{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }} - {{ end }} -

+

+ {{ end }}
- -

Setup

-

- {{ with .Site.GetPage "section" "setup" }} - {{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }} - {{ end }} -

+ {{ with .Site.GetPage "section" "setup" }} + + +

Setup

+
+

+ {{ .Params.summary | default .Summary | truncate .Site.Params.summary_length_long "..." }} +

+ {{ end }}
diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index 7cd06ae..43292e4 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -43,3 +43,11 @@ pre code { } } } + +a.no-underline { + border-bottom: 0; +} + +a .icon { + cursor: inherit !important; +}