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

github.com/monkeyWzr/hugo-theme-cactus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGo <monkeywzr@gmail.com>2020-09-26 15:50:31 +0300
committerGitHub <noreply@github.com>2020-09-26 15:50:31 +0300
commit4bdb95cb26cff1e8babe43fab969ee9b749b1541 (patch)
tree761934abcf6d0cc97da3a824159c40ffaacbb074 /layouts
parentcd747c47f903f53cee9cd8eb2ad30404f35f76e0 (diff)
parent45b7ffa10139a8ba139353614a9c84440fd30abb (diff)
Merge pull request #4 from cristiklein/master
Add Google Scholar; Better title format
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html4
-rw-r--r--layouts/partials/head.html2
2 files changed, 5 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 39797cd..01167b7 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -15,6 +15,10 @@
<a class="icon" target="_blank" rel="noopener" href="{{ $elem.link }}">
<i class="fas fa-rss"></i>
</a>
+ {{ else if eq $elem.name "scholar" }}
+ <a class="icon" target="_blank" rel="noopener" href="{{ $elem.link }}">
+ <i class="fas fa-graduation-cap"></i>
+ </a>
{{ else }}
<a class="icon" target="_blank" rel="noopener" href="{{ $elem.link }}">
<i class="fab fa-{{ lower $elem.name }}"></i>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index c656abd..8c2181e 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,7 +1,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
- <title>{{ if .IsPage }} {{ .Title }} {{ else }} {{ .Site.Title }} {{ end }}</title>
+ <title>{{ if .IsPage }} {{ .Title }} | {{ end }}{{ .Site.Title }}</title>
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">