I found nothing about that, so I guess it is the right place to talk about that (and not create an issue onto hugo github)
- It is difficult to know what are the latest improvements on the documentation.
- I would like to add a page : “latest changes” with the latest X changes on documentation.
- I’ve done that for my own documentation site and it is an appreciated feature.
If the team aggrees, let me know how I can add it, or better I should post my shortcode here.
I call {{% latest_changes 15 %}}
for the 15 latest change
latest_changes.html
{{.Inner}}
{{ $nombre_md := .Get 0 }}
<i>Here are the latest {{ $nombre_md }} changes.</i>
<table>
<thead>
<tr>
<th>Date</th>
<th>Direct access</th>
<th>Location</th>
</tr>
</thead>
<!-- this may be need some tweeking -->
{{ range first $nombre_md (sort .Site.Taxonomies.categories.documentation ".Lastmod" "desc") }}
<tr>
<time datetime="{{ ".Lastmod" }}">
<td>{{.Lastmod.Format "02 Jan 2006"}}</td>
</time>
<td>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</td>
<td>{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} {{ $url }}</td>
</tr>
{{ end }}
</table>
Let me know if this doesn’t belongs here.