mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-12-23 04:15:37 +00:00
Added mobile navbar. Fixed GA?
This commit is contained in:
parent
12fc52e060
commit
d085c0413e
|
@ -25,7 +25,7 @@
|
||||||
<meta name="robots" content="noindex,nofollow" />
|
<meta name="robots" content="noindex,nofollow" />
|
||||||
|
|
||||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ .Site.Params.GoogleAnalyticsTrackingId }} }}"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id={{ .Site.Params.GoogleAnalyticsTrackingId }}"></script>
|
||||||
|
|
||||||
<!-- Google Analytics -->
|
<!-- Google Analytics -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
@ -3,8 +3,14 @@
|
||||||
<a class="navbar-item" href="{{ .Site.BaseURL }}">
|
<a class="navbar-item" href="{{ .Site.BaseURL }}">
|
||||||
<img class="navbar-logo" src="{{ .Site.BaseURL }}/images/menu.svg" alt="{{ .Site.Title }} {{ .Site.Params.Tagline }}">
|
<img class="navbar-logo" src="{{ .Site.BaseURL }}/images/menu.svg" alt="{{ .Site.Title }} {{ .Site.Params.Tagline }}">
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<button class="button navbar-burger" data-target="navMenu">
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
<span></span>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="navbar-menu">
|
<div class="navbar-menu" id="navMenu">
|
||||||
<div class="navbar-start">
|
<div class="navbar-start">
|
||||||
{{ $currentPage := . }} {{ range .Site.Menus.main }} {{ if .HasChildren }}
|
{{ $currentPage := . }} {{ range .Site.Menus.main }} {{ if .HasChildren }}
|
||||||
<div class="navbar-item has-dropdown is-hoverable">
|
<div class="navbar-item has-dropdown is-hoverable">
|
||||||
|
@ -28,21 +34,31 @@
|
||||||
{{ .Name }}
|
{{ .Name }}
|
||||||
</a>
|
</a>
|
||||||
{{ end }} {{ end }}
|
{{ end }} {{ end }}
|
||||||
|
|
||||||
|
<a class="navbar-item is-hidden-desktop" href="{{ .Site.Params.DiscordURL }}" target="_blank">
|
||||||
|
discord
|
||||||
|
</a>
|
||||||
|
<a class="navbar-item is-hidden-desktop" href="{{ .Site.Params.TwitterURL }}" target="_blank">
|
||||||
|
twitter
|
||||||
|
</a>
|
||||||
|
<a class="navbar-item is-hidden-desktop" href="{{ .Site.Params.GithubURL }}" target="_blank">
|
||||||
|
github
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="navbar-end">
|
<div class="navbar-end">
|
||||||
<!-- Navbar icons -->
|
<!-- Navbar icons -->
|
||||||
<a class="navbar-item is-hidden-desktop-only" href="{{ .Site.Params.DiscordURL }}" target="_blank">
|
<a class="navbar-item is-hidden-touch" href="{{ .Site.Params.DiscordURL }}" target="_blank">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<i class="fab fa-2x fa-discord"></i>
|
<i class="fab fa-2x fa-discord"></i>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<a class="navbar-item is-hidden-desktop-only" href="{{ .Site.Params.TwitterURL }}" target="_blank">
|
<a class="navbar-item is-hidden-touch" href="{{ .Site.Params.TwitterURL }}" target="_blank">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<i class="fab fa-2x fa-twitter"></i>
|
<i class="fab fa-2x fa-twitter"></i>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<a class="navbar-item is-hidden-desktop-only" href="{{ .Site.Params.GithubURL }}" target="_blank">
|
<a class="navbar-item is-hidden-touch" href="{{ .Site.Params.GithubURL }}" target="_blank">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<i class="fab fa-2x fa-github"></i>
|
<i class="fab fa-2x fa-github"></i>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -1,19 +1,15 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<section class="section">
|
<section class="section">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1 class="title">{{ .Title }}</h1>
|
<article class="message">
|
||||||
<div class="content">
|
|
||||||
|
|
||||||
<article class="message is-primary">
|
|
||||||
<div class="message-body">
|
<div class="message-body">
|
||||||
<p>The below wiki article is based on user submitted content.</p>
|
<p>The below wiki article is based on user submitted content. Please verify <strong>all</strong> hyperlinks and terminal commands below!</p>
|
||||||
<p>Please verify
|
<p>See a mistake? Want to contribute? <a href="{{ .Site.Params.GithubURL }}/wiki/{{ .File.BaseFileName }}/_edit/">Edit this article on Github</a></p>
|
||||||
<strong>all</strong> hyperlinks and terminal commands below!</p>
|
|
||||||
See a mistake? Want to contribute?
|
|
||||||
<a href="{{ .Site.Params.GithubURL }}/wiki/{{ .File.BaseFileName }}/_edit/">Edit this article on Github</a>
|
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
<h1 class="title">{{ .Title }}</h1>
|
||||||
|
<div class="content">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue