jk.nipponalba.scot website https://jk.nipponalba.scot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

60 lines
3.3 KiB

5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
  1. {{ define "main" }}
  2. <section class="about h-feed">
  3. <section class="profile title h-card p-author">
  4. <section class="profile-left"><img class="u-photo" src="/images/profile.jpg" alt="profile picture"></section>
  5. <section class="profile-right">
  6. <a rel="author" class="title p-name u-url u-uid" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}</a><br/>
  7. <ul class="social-links">
  8. {{ range $item := .Site.Params.socialIcons }}
  9. <a href="{{ $item.url | safeURL }}" rel="me" >
  10. <i class="fa {{ $item.icon }}" aria-hidden="true" title="{{ $item.title }}"></i>
  11. </a>
  12. {{ end }}
  13. </ul>
  14. <section class="description">
  15. <p class="p-note">{{ .Site.Params.description }}</p>
  16. </section>
  17. </section>
  18. <section style="display:none">
  19. <span class="p-country-name">Scotland or Japan</span>
  20. <a class="u-email" rel="me" href="mailto:jk@nipponalba.scot"></a>
  21. <a class="u-url" rel="me" href="https://social.nipponalba.scot/jk"></a>
  22. <a class="u-url" rel="me" href="https://px.nipponalba.scot/jk"></a>
  23. <span class="p-category">Craft Beer</span>
  24. <span class="p-category">Single Malt Whisky</span>
  25. <span class="p-category">Homebrewing</span>
  26. <span class="p-category">Scottish Politics</span>
  27. <span class="p-category">Scottish History</span>
  28. <span class="p-category">Japanese History</span>
  29. <span class="p-category">Tech</span>
  30. <span class="p-category">Veganism</span>
  31. <span class="p-category">Cooking</span>
  32. </section>
  33. </section>
  34. <h1>Latest post</h1>
  35. {{ range (first 1 (where .Site.RegularPages "Type" "!=" "response")) }}
  36. <article class="post h-entry entry">
  37. {{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}<a href="{{ .Permalink}}" class="u-url"><h3 class="p-name entry-title">{{ .Title }}</h3><a/>
  38. <section class="e-content">{{ .Content }}
  39. {{ if eq .Type "photo"}}
  40. <section class="photos">
  41. {{ range .Page.Params.Photo }}
  42. <a class="u-url" href="{{ . }}"><img class="u-photo thumb" src="{{ replace . "800." "300."}}"/></a>
  43. {{end}}
  44. </section>
  45. {{end}}
  46. </section>
  47. <section class="info">
  48. {{ if eq .Type "article" }}
  49. <span class="blogs_span">{{ with .Page.Params.Blog }}Blog: {{ partial "taxonomy/blog.html" . }}{{ end }}</span><span class="info-date"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></span><br/>
  50. <span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span><span class="reading-time">{{ .ReadingTime }}-minute read</span><br/>
  51. <span class="tags_span">{{ with .Page.Params.tag }}Tags: {{ partial "taxonomy/tags.html" . }}{{ end }}</span>
  52. {{ else }}
  53. <span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span><span class="info-date"><a href="{{ .Permalink }}" class="u-url"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a></span><br/>
  54. {{ end }}
  55. </section>
  56. <a href="https://brid.gy/publish/mastodon"></a>
  57. </article>
  58. {{ end }}
  59. </section>
  60. {{ end }}