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:54:52 +0300
committerByeonggon Lee <gonny952@gmail.com>2018-11-28 20:54:52 +0300
commita977234b8c1eb5247041452ab333157a5857267b (patch)
treeae121fffc1782d9d148e9740da7938c8a065a6f8
parent12dd28731395310a634421d8d1b373fe8e74b485 (diff)
Modified index template
-rw-r--r--layouts/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/index.html b/layouts/index.html
index b14522a..2a2e6e2 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,12 +1,12 @@
{{ define "main" }}
<div style="margin-top: 2rem; margin-bottom: 2rem">
- <img src="{{ .Site.Params.logo }}" style="width: 10rem; height: 10rem"/>
- <h1 style="">{{ .Site.Params.author }}</h1>
- <h3 style="">{{ .Site.Params.info }}</h3>
+ <img src="{{ .Site.Params.logo }}" style="width: 15rem; height: 15rem"/>
+ <h2 style="">{{ .Site.Params.author }}</h1>
+ <h4 style="">{{ .Site.Params.info }}</h3>
</div>
{{ with .Site.Params.social }}
- {{ range sort . }}
- <a href="{{ .url }}"><h5 style="display:inline">{{ .name }}</h5></a>
+ {{ range $i, $e := sort . }}
+ <a href="{{ .url }}"><h5 style="display:inline;{{ if $i }}padding-left:0.5rem;margin-left: 0.3rem; border-left: 0.2rem solid black{{ end }}">{{ $e.name }}</h5></a>
{{ end }}
{{ end }}
{{ end }}