diff options
author | Curtis Timson <curt@live.co.uk> | 2018-02-17 01:45:41 +0300 |
---|---|---|
committer | Curtis Timson <curt@live.co.uk> | 2018-02-17 01:45:41 +0300 |
commit | 4c6356d4100433e023fc7c0c6dd1228c569643e2 (patch) | |
tree | 325d305ee3dc5d047da815e45ae156fdbbb01fd3 | |
parent | b2ff8e1baf5e6fb86b798dc2232e2d9f3a28bc34 (diff) |
:wrench: Configure portfolio find out more text
-rw-r--r-- | exampleSite/config.toml | 4 | ||||
-rw-r--r-- | layouts/partials/intro.html | 6 | ||||
-rw-r--r-- | layouts/partials/portfolio.html | 2 | ||||
-rw-r--r-- | package.json | 2 |
4 files changed, 9 insertions, 5 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index aac2541..ed22389 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -8,12 +8,15 @@ theme = "../.." subtitleline2 = "A responsive template by HTML5 UP" [params.intro] + icon1 = "fa-cog" title1 = "Ipsum consequat" description1 = "Nisl amet dolor sit ipsum veroeros sed blandit consequat veroeros et magna tempus." + icon2 = "fa-flash" title2 = "Magna etiam dolor" description2 = "Nisl amet dolor sit ipsum veroeros sed blandit consequat veroeros et magna tempus." + icon3 = "fa-star" title3 = "Tempus adipiscing" description3 = "Nisl amet dolor sit ipsum veroeros sed blandit consequat veroeros et magna tempus." @@ -41,6 +44,7 @@ theme = "../.." [params.portfolio] foldername = "portfolio" + findoutmoretext = "Find out more" [params.blog] title = "The Blog" diff --git a/layouts/partials/intro.html b/layouts/partials/intro.html index 8506b40..b76fabd 100644 --- a/layouts/partials/intro.html +++ b/layouts/partials/intro.html @@ -3,7 +3,7 @@ <div class="row"> <div class="4u 12u(mobile)"> <section class="first"> - <i class="icon featured fa-cog"></i> + <i class='icon featured {{ .Site.Params.Intro.icon1 }}'></i> <header> <h2>{{ .Site.Params.Intro.title1 }}</h2> </header> @@ -12,7 +12,7 @@ </div> <div class="4u 12u(mobile)"> <section class="middle"> - <i class="icon featured alt fa-flash"></i> + <i class="icon featured alt {{ .Site.Params.Intro.icon2 }}"></i> <header> <h2>{{ .Site.Params.Intro.title2 }}</h2> </header> @@ -21,7 +21,7 @@ </div> <div class="4u 12u(mobile)"> <section class="last"> - <i class="icon featured alt2 fa-star"></i> + <i class="icon featured alt2 {{ .Site.Params.Intro.icon3 }}"></i> <header> <h2>{{ .Site.Params.Intro.title3 }}</h2> </header> diff --git a/layouts/partials/portfolio.html b/layouts/partials/portfolio.html index 8fc6c2c..594ea57 100644 --- a/layouts/partials/portfolio.html +++ b/layouts/partials/portfolio.html @@ -13,7 +13,7 @@ </header> <p>{{ .Description }}</p> <footer> - <a href="{{ .Permalink }}" class="button alt">Find out more</a> + <a href="{{ .Permalink }}" class="button alt">{{ .Site.Params.Portfolio.findoutmoretext }}</a> </footer> </section> </div> diff --git a/package.json b/package.json index ccfd571..c6a4c46 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-theme-dopetrope", - "version": "2.2.0", + "version": "3.0.0", "description": "Hugo Theme Dopetrope", "main": "index.js", "scripts": { |