Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gonnux/hugo-apps-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByeonggon Lee <gonny952@gmail.com>2018-11-29 12:19:14 +0300
committerByeonggon Lee <gonny952@gmail.com>2018-11-29 12:19:14 +0300
commit1ed74e2c32fe7e1256f9a70f0a03dc61df2ecc94 (patch)
tree50e5e8b9d7d3e34cfc63b61201997565212f5088
parentdd8dee55be3f2dea59cd6a28730eeb69f5945723 (diff)
params.logo -> params.avatar
-rw-r--r--exampleSite/config.toml2
-rw-r--r--layouts/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index a01cb58..f5cd1c9 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -7,7 +7,7 @@ title = "Your site title"
copyright = ""
[params]
- logo = "https://openclipart.org/download/103855/tux.svg"
+ avatar = "https://openclipart.org/download/103855/tux.svg"
author = "Your name"
info = "Any info about you"
diff --git a/layouts/index.html b/layouts/index.html
index 763131c..1e3643d 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,6 @@
{{ define "main" }}
<div style="margin-top: 2rem; margin-bottom: 2rem">
- <img src="{{ .Site.Params.logo }}" style="width: 15rem; height: 15rem"/>
+ <img src="{{ .Site.Params.avatar }}" style="width: 15rem; height: 15rem"/>
<h2 style="">{{ .Site.Params.author }}</h1>
<h4 style="">{{ .Site.Params.info }}</h3>
</div>