diff options
author | Jerry Kiely <jerry@cowboysmall.com> | 2019-11-06 01:47:38 +0300 |
---|---|---|
committer | Jerry Kiely <jerry@cowboysmall.com> | 2019-11-06 01:47:38 +0300 |
commit | 908354d32d9c42ec2f1721d20c1934e491bfd023 (patch) | |
tree | 5c938b9b7ac12cab6739e4c2ff2831133d081570 | |
parent | c9db8e2a15eac07c2c44875d6d299a295cb62e46 (diff) |
added favicon + enhanced projects
-rw-r--r-- | exampleSite/config.toml | 4 | ||||
-rw-r--r-- | layouts/partials/head.html | 6 | ||||
-rw-r--r-- | layouts/partials/projects.html | 7 |
3 files changed, 14 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 9a56f79..629d4dc 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -81,6 +81,7 @@ googleAnalytics = "UA-XXXXXXX-Y" # title = "Section 1" [[params.projects.sections.rows]] + # title = "Section 1, Row 1" [[params.projects.sections.rows.items]] title = "Card title 1" @@ -99,6 +100,7 @@ googleAnalytics = "UA-XXXXXXX-Y" # image = "" [[params.projects.sections.rows]] + # title = "Section 1, Row 2" [[params.projects.sections.rows.items]] title = "Card title 4" @@ -116,6 +118,7 @@ googleAnalytics = "UA-XXXXXXX-Y" # title = "Section 2" [[params.projects.sections.rows]] + # title = "Section 2, Row 1" [[params.projects.sections.rows.items]] title = "Card title 1" @@ -134,6 +137,7 @@ googleAnalytics = "UA-XXXXXXX-Y" # image = "" [[params.projects.sections.rows]] + # title = "Section 2, Row 2" [[params.projects.sections.rows.items]] title = "Card title 4" diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 942092f..a98bf3d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,12 +1,12 @@ + <title>{{ .Site.Title }}</title> + <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content="{{ .Site.Params.description }}"> <meta name="author" content="{{ .Site.Params.author }}"> - <meta name="description" content=""> - <meta name="author" content=""> - <title>{{ .Site.Title }}</title> + <link rel="shortcut icon" href="favicon.ico"> <!-- Bootstrap core CSS --> <link rel="stylesheet" href="{{ .Site.BaseURL }}assets/vendor/bootstrap/css/bootstrap.min.css"> diff --git a/layouts/partials/projects.html b/layouts/partials/projects.html index 3675d29..2a50edf 100644 --- a/layouts/partials/projects.html +++ b/layouts/partials/projects.html @@ -13,6 +13,13 @@ {{ range .rows }} <div class="row"> + {{ if .title }} + <div class="col-md-12 mb-5"> + <h2>{{ .title }}</h2> + <hr> + </div> + {{ end }} + {{ range .items }} <div class="col-md-4 mb-5"> <div class="card h-100"> |