mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-21 22:35:41 +01:00
Updated shared-bulma-theme.
This commit is contained in:
parent
c7760b9895
commit
fd06101484
@ -58,7 +58,7 @@
|
||||
{{ block "header" . }}{{ end }}
|
||||
|
||||
{{ $full_width := .Params.FullWidth | default false }}
|
||||
{{- if .IsHome }}
|
||||
{{- if eq .IsPage false }}
|
||||
<div class="container">
|
||||
{{ block "main" . }}{{ end }}
|
||||
</div>
|
||||
|
@ -9,13 +9,13 @@
|
||||
<div class="mt-lg">
|
||||
<span class="h3 px-md py-sm has-background-dark">
|
||||
Written by <a href="https://community.citra-emu.org/users/{{ $author.key }}">{{ $author.name }}</a>
|
||||
on {{ .Date.Format "January 02 2006" }}
|
||||
on {{ .Date.Format $.Site.Params.fmt.Date }}
|
||||
</span>
|
||||
</div>
|
||||
{{ else }}
|
||||
<div>
|
||||
<span class="h3 px-md py-sm has-background-dark">
|
||||
Written on {{ .Date.Format "January 02 2006" }}
|
||||
Written on {{ .Date.Format $.Site.Params.fmt.Date }}
|
||||
</span>
|
||||
</div>
|
||||
{{ end }}
|
||||
@ -28,19 +28,10 @@
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
<!--
|
||||
{{ if .Params.forum }}
|
||||
<div class="entry-comments">
|
||||
<div id="discourse-comments"></div>
|
||||
<script type="text/javascript">
|
||||
DiscourseEmbed = { discourseUrl: 'https://community.citra-emu.org/', topicId: "{{ .Params.forum }}" };
|
||||
(function() {
|
||||
var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
|
||||
d.src = DiscourseEmbed.discourseUrl + 'javascripts/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
|
||||
})();
|
||||
</script>
|
||||
<div class="has-text-centered">
|
||||
<a class="pagination-next" href="https://community.citra-emu.org/t/{{ .Params.forum }}">Continue the discussion on our forums.</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
-->
|
||||
|
||||
{{ end }}
|
@ -1,85 +0,0 @@
|
||||
{{ define "main" }}
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<h1 class="title">{{ .Title }}</h1>
|
||||
|
||||
<article class="message has-text-weight-semibold">
|
||||
<div class="message-body">
|
||||
<p>At this time, yuzu does not run any commercial Switch games. yuzu can boot some games, to varying degrees
|
||||
of success, but does not implement any of the necessary GPU features to render 3D graphics. </p>
|
||||
<p>
|
||||
<a href="https://yuzu-emu.org/wiki/switch-homebrew/">Click here</a> for homebrew games you can download and test.</p>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Advertisement -->
|
||||
<section class="hero is-info">
|
||||
<div class="hero-body">
|
||||
<div class="has-text-centered">
|
||||
<ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="{{ .Site.Params.GoogleAdsenseClient }}"
|
||||
data-ad-slot="1038554045"></ins>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="section">
|
||||
<div class="container">
|
||||
<div class="columns">
|
||||
<!-- Nightly -->
|
||||
<div class="column">
|
||||
<h3>Nightly Build
|
||||
<span style='font-size: smaller; margin-left: 6px;'>
|
||||
Last release was
|
||||
<span id='last-updated-nightly'></span>
|
||||
</span>
|
||||
</h3>
|
||||
|
||||
<div id="downloads-nightly">
|
||||
</div>
|
||||
|
||||
<div id="unavailable-nightly" class="is-hidden">There was a problem checking GitHub. Click the link below to view them directly.</div>
|
||||
<br />
|
||||
|
||||
<div class="has-text-centered">
|
||||
<a href="https://github.com/yuzu-emu/yuzu-nightly/releases">Click here to view previous versions...</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column">
|
||||
<h3>Canary Build
|
||||
<span style='font-size: smaller; margin-left: 6px;'>
|
||||
Last release was
|
||||
<span id='last-updated-canary'></span>
|
||||
</span>
|
||||
</h3>
|
||||
|
||||
<div id="downloads-canary">
|
||||
</div>
|
||||
|
||||
<div id="unavailable-canary" class="is-hidden">There was a problem checking GitHub. Click the link below to view them directly.</div>
|
||||
<br />
|
||||
|
||||
<div class="has-text-centered">
|
||||
<a href="https://github.com/yuzu-emu/yuzu-canary/releases">Click here to view previous versions...</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ define "scripts" }}
|
||||
<script type="text/javascript">
|
||||
function fetchReleases() {
|
||||
getRelease('nightly');
|
||||
getRelease('canary');
|
||||
}
|
||||
|
||||
fetchReleases();
|
||||
</script>
|
||||
{{ end }}
|
@ -1,13 +1,14 @@
|
||||
{{ if .Params.twitter }}
|
||||
<div class="mb-md blog-entry-header summary twitter" data-href="{{ .Params.twitterUrl }}">
|
||||
<div class="px-md">
|
||||
<div class="mb-md blog-entry-header summary twitter" style="background-image: none;" data-href="{{ .Params.twitterUrl }}">
|
||||
<div class="px-md has-text-weight-semibold">
|
||||
<span class="h3">{{ .Date.Format $.Site.Params.fmt.Date }}</span> -
|
||||
<span class="h3 moment-timeago">{{ .Date.Format $.Site.Params.fmt.ISO8601 }}</span>
|
||||
</div>
|
||||
<div class="mt-md px-md">
|
||||
<span class="h3">{{ .Content }}</span>
|
||||
</div>
|
||||
<div style="position: absolute; bottom: 0; right: 0;">
|
||||
<span class="h3 px-md py-sm has-background-dark">
|
||||
<div class="px-md py-sm" style="position: absolute; bottom: 0; right: 0;">
|
||||
<span class="h3">
|
||||
<a href="{{ .Params.twitterUrl }}">View Tweet</a>
|
||||
</span>
|
||||
</div>
|
||||
@ -19,6 +20,7 @@
|
||||
<span class="title">{{ .Title }}</span>
|
||||
</div>
|
||||
<div class="px-md">
|
||||
<span class="h3">{{ .Date.Format $.Site.Params.fmt.Date }}</span> -
|
||||
<span class="h3 moment-timeago">{{ .Date.Format $.Site.Params.fmt.ISO8601 }}</span>
|
||||
</div>
|
||||
<div class="mt-md px-md">
|
||||
|
Loading…
Reference in New Issue
Block a user