diff options
| author | Zach Berwaldt <zberwaldt@tutamail.com> | 2023-10-12 08:08:37 -0400 |
|---|---|---|
| committer | Zach Berwaldt <zberwaldt@tutamail.com> | 2023-10-12 08:08:37 -0400 |
| commit | 6e6412e4a693ddc2da5e4611363fb882ad6497be (patch) | |
| tree | 8c151abcd68613d477773cc6552eeaa22a70e8ea /layouts/partials | |
| parent | d0e7f43601e90229b95191a1cdc85039e233b622 (diff) | |
Switch to light theme. remove articles.
Diffstat (limited to 'layouts/partials')
| -rw-r--r-- | layouts/partials/updated_posts.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/partials/updated_posts.html b/layouts/partials/updated_posts.html new file mode 100644 index 0000000..7010a5b --- /dev/null +++ b/layouts/partials/updated_posts.html | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | {{ $lastBuildTime := time "2021-09-08T12:51:38-0400" }} | ||
| 2 | {{ $updatedPosts := slice }} | ||
| 3 | |||
| 4 | {{ range .Site.Pages }} | ||
| 5 | {{ if .Lastmod.After $lastBuildTime }} | ||
| 6 | <li>{{ .Title }} - {{ .Lastmod }}</li> | ||
| 7 | {{ end }} | ||
| 8 | {{ end }} | ||
| 9 | |||
| 10 | <h2>Updated Posts:</h2> | ||
| 11 | <ul> | ||
| 12 | {{ range $updatedPosts }} | ||
| 13 | <li>{{ . }}</li> | ||
| 14 | {{ end }} | ||
| 15 | </ul> | ||
| 16 | |||
| 17 | {{ $currentTime := now.UTC }} | ||
