~irimi1/manu.computer

d97ea34cd3e12de7ab8f4885f04d020b873aaf41 — Manuel Groß 19 days ago b776b22
List last five changes on landing and about pages
M .build.yml => .build.yml +9 -0
@@ 7,6 7,15 @@ sources:
secrets:
  - 02e75aca-3e7d-4356-b2c8-129e1ead2b34
tasks:
  - history: |
      curl -O https://yukari.sr.ht/openring
      chmod +x openring
      ./openring \
        -s https://git.sr.ht/~irimi1/manu.computer/log/rss.xml \
        -p 5 \
        -n 5 < \
        manu.computer/openring-in/history.html \
        > manu.computer/templates/shortcodes/history.html
  - build: |
      cd manu.computer
      zola build

M content/_index.md => content/_index.md +2 -0
@@ 20,3 20,5 @@ I keep most of my source code on the hosted [sourcehut](https://git.sr.ht/) vari
### Contact

Feel free to send me an [email](mailto:website@irimi.one). You can use the GPG key with the fingerprint `EA45 5B15 3B80 4AC5`. Please write in either English or German.

{{ history() }}

M content/about.md => content/about.md +7 -1
@@ 28,10 28,16 @@ Obviously I didn’t come up with the layout and design ideas completely myself,

## Zola

This website is built with the static website generator Zola (former “Gutenberg”). This means I can organise my content as markdown files in a version control system, and Zola generates a bunch of static HTML files from them, together with a config and some templates.
This website is built with the static website generator [Zola](https://www.getzola.org/) (former “Gutenberg”). This means I can organise my content as markdown files in a version control system, and Zola generates a bunch of static HTML files from them, together with a config and some templates.

The source for this website is available here: [git.sr.ht/~irimi1/manu.computer](https://git.sr.ht/~irimi1/manu.computer)

{{ history() }}

## Openring

I (ab)use [openring](https://git.sr.ht/~sircmpwn/openring) to generate a list of the last five commits to this site from sourcehuts RSS feed.

## Hosting

This website is hosted [on asteroids](https://uberspace.de/en/).

A openring-in/history.html => openring-in/history.html +7 -0
@@ 0,0 1,7 @@
<h3>Latest changes to this website</h3>
<ul>
  {{range .Articles}}
  <li><a href="{{.Link}}" target="_blank" rel="noopener">{{.Title}}</a></li>
  {{end}}
  <li><a href="https://git.sr.ht/~irimi1/manu.computer/log" target="_blank" rel="noopener">[See all changes]</a></li>
</ul>

A templates/shortcodes/history.html => templates/shortcodes/history.html +1 -0
@@ 0,0 1,1 @@