Browse Source

tweaks

master
Jon Kelbie 5 months ago
parent
commit
eb8c9ccb5c
  1. 14
      themes/nipponalba/layouts/index.html
  2. 12
      themes/nipponalba/layouts/index.jp.html

14
themes/nipponalba/layouts/index.html

@ -25,12 +25,6 @@
<span id="h1">Be in Japan</span><span id="h2">&#10004;</span><span id="h3">Become a brewer</span><span id="h4">&#10007;</span>
</section>
</article>
<section class="latest_articles"><h2>Latest articles</h2>
{{ range (first 3 (where .Site.RegularPages "Type" "=" "article")) }}
<article class="index-article h-entry entry"><a class="u-url" href="{{ .Permalink }}" title="{{ .Title }}">
{{ if .Page.Params.image }}{{ range first 1 .Page.Params.image }} <img class="banner u-photo" src="{{ replace . "images" "images/300" }}"/>{{ end }}{{ end }}<span class="p-name entry-title">{{ .Title }}</span>
<section class="e-content">{{ .Description }}</section>
</a></article>{{ end }}</section>
<section class="latest_photos"><h2>Latest photos</h2>
{{ range (first 3 (where .Site.RegularPages "Type" "=" "photo")) }}
<article class="index-photo h-entry entry"><a class="u-url" href="{{ .Permalink }}">
@ -52,7 +46,13 @@
{{end}}
</section>
</a></article>{{ end }}</section>
<h2>Currently</h2>
<section class="latest_articles"><h2>Latest articles</h2>
{{ range (first 3 (where .Site.RegularPages "Type" "=" "article")) }}
<article class="index-article h-entry entry"><a class="u-url" href="{{ .Permalink }}" title="{{ .Title }}">
{{ if .Page.Params.image }}{{ range first 1 .Page.Params.image }} <img class="banner u-photo" src="{{ replace . "images" "images/300" }}"/>{{ end }}{{ end }}<span class="p-name entry-title">{{ .Title }}</span>
<section class="e-content">{{ .Description }}</section>
</a></article>{{ end }}</section>
<h2>Currently</h2>
<section class="index-note">
<b><i class="fa fa-graduation-cap" aria-hidden="true" target="_blank"></i> Studying:</b> Lot's of books about beer styles, branding, hop growing and establishing a craft beer brewery.'<br/><br/>
<b><i class="fa fa-calendar" aria-hidden="true"></i> Progress:</b> In discussions about potential sites for our brewery.<br/><br/>

12
themes/nipponalba/layouts/index.jp.html

@ -25,12 +25,6 @@
<span id="h1">日本への移動する</span><span id="h2">&#10004;</span><span id="h3">醸造家になる</span><span id="h4">&#10007;</span>
</section>
</article>
<section class="latest_articles"><h2>最新の記事</h2>
{{ range (first 3 (where .Site.RegularPages "Type" "=" "article")) }}
<article class="index-article h-entry entry"><a class="u-url" href="{{ .Permalink }}" title="{{ .Title }}">
{{ if .Page.Params.image }}{{ range first 1 .Page.Params.image }} <img class="banner u-photo" src="{{ replace . "images" "images/300" }}"/>{{ end }}{{ end }}<span class="p-name entry-title">{{ .Title }}</span>
<section class="e-content">{{ .Description }}</section>
</a></article>{{ end }}</section>
<section class="latest_photos"><h2>最新の写真</h2>
{{ range (first 3 (where .Site.RegularPages "Type" "=" "photo")) }}
<article class="index-photo h-entry entry"><a class="u-url" href="{{ .Permalink }}">
@ -52,6 +46,12 @@
{{end}}
</section>
</a></article>{{ end }}</section>
<section class="latest_articles"><h2>最新の記事</h2>
{{ range (first 3 (where .Site.RegularPages "Type" "=" "article")) }}
<article class="index-article h-entry entry"><a class="u-url" href="{{ .Permalink }}" title="{{ .Title }}">
{{ if .Page.Params.image }}{{ range first 1 .Page.Params.image }} <img class="banner u-photo" src="{{ replace . "images" "images/300" }}"/>{{ end }}{{ end }}<span class="p-name entry-title">{{ .Title }}</span>
<section class="e-content">{{ .Description }}</section>
</a></article>{{ end }}</section>
<h2>現在</h2>
<section class="index-note">
<b><i class="fa fa-graduation-cap" aria-hidden="true" target="_blank"></i> 勉強:</b> ビールのスタイル、ブランディング、ホップの栽培、クラフトビール醸造所の設立に関する本をたくさん読む。<br/><br/>

Loading…
Cancel
Save