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-28 20:39:32 +0300
committerByeonggon Lee <gonny952@gmail.com>2018-11-28 20:39:32 +0300
commit12dd28731395310a634421d8d1b373fe8e74b485 (patch)
tree0f06fca7ba53e3bed4b9edb8f453bdfa95d1e15c
parentaa9ab07cbd6d1cbeb2e9ea42a39f0fc83848f380 (diff)
params.profile_img -> params.logo, created params.info
-rw-r--r--exampleSite/config.toml10
-rw-r--r--layouts/index.html5
2 files changed, 9 insertions, 6 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 6135e64..b6c9960 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,12 +1,14 @@
baseURL = "/"
-languageCode = "en-us"
-title = "Hugo Apps Theme"
paginate = 10
+languageCode = "en-us"
disqusShortname = ""
+googleAnalytics = ""
+title = "Hugo Apps Theme"
+author = "gonapps"
+copyright = ""
[params]
- profile_img = "https://openclipart.org/download/103855/tux.svg"
- author = "gonapps"
+ logo = "https://openclipart.org/download/103855/tux.svg"
[[menu.main]]
name = "About"
diff --git a/layouts/index.html b/layouts/index.html
index 4804238..b14522a 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,11 +1,12 @@
{{ define "main" }}
<div style="margin-top: 2rem; margin-bottom: 2rem">
- <img src="{{ .Site.Params.profile_img }}" style="width: 10rem; height: 10rem"/>
+ <img src="{{ .Site.Params.logo }}" style="width: 10rem; height: 10rem"/>
<h1 style="">{{ .Site.Params.author }}</h1>
+ <h3 style="">{{ .Site.Params.info }}</h3>
</div>
{{ with .Site.Params.social }}
{{ range sort . }}
- <a href="{{ .url }}"><h5 style="display:inline">{{ .name }}</h5></a>
+ <a href="{{ .url }}"><h5 style="display:inline">{{ .name }}</h5></a>
{{ end }}
{{ end }}
{{ end }}