mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-24 14:15:36 +01:00
Updated generating meta information for the homepage. Fixed margins on mobile menu, added icons next to external services (twitter, discord, etc.)
This commit is contained in:
parent
c0b4462352
commit
4b72b62370
@ -10,15 +10,7 @@
|
||||
<meta property="og:title" content="{{ if ne .URL " / " }}{{ .Title }} · {{ end }}{{ .Site.Title }}" />
|
||||
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
||||
<meta property="og:url" content="{{ .Permalink }}" />
|
||||
|
||||
{{ if .IsHome }}
|
||||
<meta property="og:description" content="{{ .Summary }}" />
|
||||
<meta name="description" content="{{ .Summary }}" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:image" content="{{ .Site.BaseURL }}/images/logo.png" />
|
||||
{{ else if .IsPage }}
|
||||
{{ .Render "meta" }}
|
||||
{{ end }}
|
||||
{{ .Render "meta" }}
|
||||
|
||||
<link rel="icon" href="{{ .Site.BaseURL }}/favicon.ico" />
|
||||
<link rel="shortcut icon" href="{{ .Site.BaseURL }}/favicon.ico" type="image/x-icon" />
|
||||
|
@ -35,14 +35,14 @@
|
||||
</a>
|
||||
{{ end }} {{ end }}
|
||||
|
||||
<a class="navbar-item is-hidden-desktop" href="{{ .Site.Params.DiscordURL }}" target="_blank">
|
||||
discord
|
||||
<a class="navbar-item px-lg is-hidden-desktop" href="{{ .Site.Params.DiscordURL }}" target="_blank">
|
||||
<i class="fab fa-discord mr-sm"></i> discord
|
||||
</a>
|
||||
<a class="navbar-item is-hidden-desktop" href="{{ .Site.Params.TwitterURL }}" target="_blank">
|
||||
twitter
|
||||
<a class="navbar-item px-lg is-hidden-desktop" href="{{ .Site.Params.TwitterURL }}" target="_blank">
|
||||
<i class="fab fa-twitter mr-sm"></i> twitter
|
||||
</a>
|
||||
<a class="navbar-item is-hidden-desktop" href="{{ .Site.Params.GithubURL }}" target="_blank">
|
||||
github
|
||||
<a class="navbar-item px-lg is-hidden-desktop" href="{{ .Site.Params.GithubURL }}" target="_blank">
|
||||
<i class="fab fa-github mr-sm"></i> github
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user