diff options
author | Go <monkeywzr@gmail.com> | 2020-09-26 15:50:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-26 15:50:31 +0300 |
commit | 4bdb95cb26cff1e8babe43fab969ee9b749b1541 (patch) | |
tree | 761934abcf6d0cc97da3a824159c40ffaacbb074 /layouts | |
parent | cd747c47f903f53cee9cd8eb2ad30404f35f76e0 (diff) | |
parent | 45b7ffa10139a8ba139353614a9c84440fd30abb (diff) |
Merge pull request #4 from cristiklein/master
Add Google Scholar;
Better title format
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.html | 4 | ||||
-rw-r--r-- | layouts/partials/head.html | 2 |
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"> |