mirror of
https://github.com/yuzu-emu/yuzu-emu.github.io.git
synced 2025-06-08 21:37:18 +00:00
Updated layout. Added adsense banner. Added Google config settings.
This commit is contained in:
parent
7b8742242f
commit
33351ca596
|
@ -30,6 +30,8 @@ paginate = 10
|
||||||
DiscordURL = "https://discord.gg/gz9pz97"
|
DiscordURL = "https://discord.gg/gz9pz97"
|
||||||
TwitterURL = "https://twitter.com/yuzuemu"
|
TwitterURL = "https://twitter.com/yuzuemu"
|
||||||
GithubURL = "https://github.com/yuzu-emu/yuzu"
|
GithubURL = "https://github.com/yuzu-emu/yuzu"
|
||||||
|
GoogleAdsenseClient = "ca-pub-4126545610079023"
|
||||||
|
GoogleAdsenseSlot = "5525580072"
|
||||||
|
|
||||||
[Languages]
|
[Languages]
|
||||||
[Languages.en]
|
[Languages.en]
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }} {{ partial "home_hero" . }}
|
||||||
|
|
||||||
{{ partial "home_hero" . }}
|
|
||||||
|
|
||||||
<section class="hero is-info">
|
<section class="hero is-info">
|
||||||
<div class="hero-body">
|
<div class="hero-body">
|
||||||
|
@ -106,13 +104,21 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section class="hero is-info">
|
||||||
|
<div class="hero-body">
|
||||||
|
<div class="container has-text-centered">
|
||||||
|
<ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="{{ .Site.Params.GoogleAdsenseClient }}" data-ad-slot="{{ .Site.Params.GoogleAdsenseSlot }}"></ins>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section class="section">
|
<section class="section">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="tile is-ancestor">
|
<div class="tile is-ancestor">
|
||||||
{{ range sort .Site.Data.twitter "order" }}
|
{{ range sort .Site.Data.twitter "order" }}
|
||||||
<div class="tile is-parent">
|
<div class="tile is-parent">
|
||||||
{{ partial "widget/tweet.html" . }}
|
{{ partial "widget/tweet.html" . }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit bbfb0074a640709cba166ee03101c9d5b5cbc297
|
Subproject commit 6b28ab5855637ccbe2f8b326074e6e6c7a85aede
|
Loading…
Reference in a new issue