Mobile-responsive personal website, generated using Hugo. https://kevin-mok.com/
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.

12 lines
602 B

  1. <article class="list-item" itemscope itemtype="http://schema.org/Blog">
  2. <h2 class="headline" itemprop="headline"><a href="{{ .RelPermalink }}">{{ .Title }}{{ if .Draft }} (Draft){{ end }}</a></h2>
  3. <div class="meta">
  4. {{ if not .Date.IsZero }}
  5. <span class="key">published on</span>
  6. <span class="val"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></span>
  7. {{ end }}
  8. </div>
  9. <section class="summary">
  10. {{ .Summary }} {{ if .Truncated }} <a href="{{ .RelPermalink }}">Read More...</a>{{ end }}
  11. </section>
  12. </article>