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.

48 lines
2.7 KiB

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
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>
  19. <h1>Latest post</h1>
  20. {{ range (first 1 (where .Site.RegularPages "Type" "!=" "response")) }}
  21. <article class="post h-entry entry">
  22. <section class="author" style="display:none;">
  23. <a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}<img src="/images/profile.jpg"/></a>
  24. </section>
  25. {{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}<h3 class="p-name entry-title">{{ .Title }}</h3>
  26. <section class="e-content">{{ .Content }}
  27. {{ if eq .Type "photo"}}
  28. <section class="photos">
  29. {{ range .Page.Params.Photo }}
  30. <a class="u-url" href="{{ . }}"><img class="u-photo thumb" src="{{ replace . "800." "300."}}"/></a>
  31. {{end}}
  32. </section>
  33. {{end}}
  34. </section>
  35. <section class="info">
  36. {{ if eq .Type "article" }}
  37. <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/>
  38. <span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span><span class="reading-time">{{ .ReadingTime }}-minute read</span><br/>
  39. <span class="tags_span">{{ with .Page.Params.tag }}Tags: {{ partial "taxonomy/tags.html" . }}{{ end }}</span>
  40. {{ else }}
  41. <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/>
  42. {{ end }}
  43. </section>
  44. <a href="https://brid.gy/publish/mastodon"></a>
  45. </article>
  46. {{ end }}
  47. </section>
  48. {{ end }}