More messages and logos configurable.

This commit is contained in:
Clara Wildpaner
2021-04-13 03:42:17 +02:00
parent a6d668b124
commit db1e525ee8
7 changed files with 27 additions and 18 deletions

View File

@@ -31,6 +31,9 @@ summarylength = 25
# Site Params # Site Params
[params] [params]
logo = "images/logo.png" logo = "images/logo.png"
logo_footer = "images/logo-footer.png"
favicon_icon = "images/favicon.ico"
favicon_shortcut_icon = "images/favicon.png"
dateFormat = "26 FEB 1994" dateFormat = "26 FEB 1994"
# Meta data # Meta data
description = "Roxo Hugo themes | Design Agency Template by StaticMania" description = "Roxo Hugo themes | Design Agency Template by StaticMania"
@@ -74,10 +77,16 @@ summarylength = 25
secondary_button = "Connect with Us" secondary_button = "Connect with Us"
secondary_button_url = "contact" secondary_button_url = "contact"
[params.blog]
read_more = "read more"
[params.portfolio] [params.portfolio]
enable = true enable = true
title = "OUR RECENT WORKS" title = "OUR RECENT WORKS"
subtitle = "Crafting experiences and seeking to make the complex clear & beautiful." subtitle = "Crafting experiences and seeking to make the complex clear & beautiful."
view_project = "view project"
more_works = "MORE WORKS"
scroll_down = "scroll down"
[params.call_to_action] [params.call_to_action]
enable = true enable = true
@@ -129,3 +138,5 @@ summarylength = 25
[params.footer.service] [params.footer.service]
title = "We help brands:" title = "We help brands:"
description = "develop design solutions<br>produce valuable cultural content<br>create fresh brand experience" description = "develop design solutions<br>produce valuable cultural content<br>create fresh brand experience"
[params.footer.back_to_top]
description = "I want to <br> visit again"

View File

@@ -30,7 +30,7 @@
<p> <p>
{{ .Summary }} ... {{ .Summary }} ...
</p> </p>
<a href="{{ .Permalink }}" class="read-more">read more</a> <a href="{{ .Permalink }}" class="read-more">{{ .Site.Params.blog.read_more }}</a>
</div> </div>
</article> </article>
</div> </div>

View File

@@ -2,7 +2,7 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
<div class="site-footer-logo"><a href="{{ .Site.BaseURL }}"><img src="{{ "images/logo-footer.png" | absURL }}" alt="logo-footer"></a></div> <div class="site-footer-logo"><a href="{{ .Site.BaseURL }}"><img src="{{ .Site.Params.logo_footer | absURL }}" alt="logo-footer"></a></div>
</div> </div>
{{ with .Site.Params.footer.contactInfo }} {{ with .Site.Params.footer.contactInfo }}
<div class="col-lg-3 col-md-6"> <div class="col-lg-3 col-md-6">
@@ -56,9 +56,7 @@
<a href="#top" class="site-footer-widget-top"> <a href="#top" class="site-footer-widget-top">
<img src="{{ "images/to-top.svg" | absURL }}" alt="back-to-top"> <img src="{{ "images/to-top.svg" | absURL }}" alt="back-to-top">
<p> <p>
I want to {{ .Site.Params.footer.back_to_top.description | safeHTML }}
<br>
visit again
</p> </p>
</a> </a>
</div> </div>

View File

@@ -20,6 +20,6 @@
<link href="{{ $style.Permalink }}" rel="stylesheet" /> <link href="{{ $style.Permalink }}" rel="stylesheet" />
<!--Favicon--> <!--Favicon-->
<link rel="shortcut icon" href="{{ "images/favicon.png" | absURL }}" type="image/x-icon" /> <link rel="shortcut icon" href="{{ .Site.Params.favicon_shortcut_icon | absURL }}" type="image/x-icon" />
<link rel="icon" href="{{ "images/favicon.ico" | absURL }}" type="image/x-icon" /> <link rel="icon" href="{{ .Site.Params.favicon_icon | absURL }}" type="image/x-icon" />
</head> </head>

View File

@@ -1,7 +1,7 @@
<nav class="navbar navbar-expand-lg site-navigation"> <nav class="navbar navbar-expand-lg site-navigation">
<div class="container"> <div class="container">
<a class="navbar-brand" href="{{ .Site.BaseURL }}"> <a class="navbar-brand" href="{{ .Site.BaseURL }}">
<img src="{{ "images/logo.png" | absURL }}" alt="logo" /> <img src="{{ .Site.Params.logo | absURL }}" alt="logo" />
</a> </a>
<button <button
class="navbar-toggler collapsed" class="navbar-toggler collapsed"

View File

@@ -18,13 +18,13 @@
<div class="site-project-item-content"> <div class="site-project-item-content">
<span>{{ delimit .Params.category ", " }}</span> <span>{{ delimit .Params.category ", " }}</span>
<h3>{{ .Title }}</h3> <h3>{{ .Title }}</h3>
<a href="{{ .Permalink }}" class="read-more">view project</a> <a href="{{ .Permalink }}" class="read-more">{{ .Site.Params.portfolio.view_project }}</a>
</div> </div>
</div> </div>
</div> </div>
{{ end }} {{ end }}
<div class="col-12 text-center text-lg-left"> <div class="col-12 text-center text-lg-left">
<a href="portfolio" class="site-project-cta">MORE WORKS</a> <a href="portfolio" class="site-project-cta">{{ .Site.Params.portfolio.more_works }}</a>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -12,7 +12,7 @@
</div> </div>
<div class="col-lg-4"> <div class="col-lg-4">
<a href="#project" class="site-project-header-action scroll-to"> <a href="#project" class="site-project-header-action scroll-to">
<span>Scroll Down</span> <span>{{ .Site.Params.portfolio.scroll_down }}</span>
<img src="{{ "images/arrow-down.svg" | absURL }}" alt="arrow-down"> <img src="{{ "images/arrow-down.svg" | absURL }}" alt="arrow-down">
</a> </a>
</div> </div>
@@ -32,7 +32,7 @@
<div class="site-project-item-content"> <div class="site-project-item-content">
<span>{{ delimit .Params.category ", " }}</span> <span>{{ delimit .Params.category ", " }}</span>
<h3>{{ .Title }}</h3> <h3>{{ .Title }}</h3>
<a href="{{ .Permalink }}" class="read-more">view project</a> <a href="{{ .Permalink }}" class="read-more">{{ .Site.Params.portfolio.view_project }}</a>
</div> </div>
</div> </div>
</div> </div>