Ajout des informations Git dans le pied de page.
This commit is contained in:
@@ -17,6 +17,7 @@ frontmatter:
|
||||
- :default
|
||||
|
||||
params:
|
||||
gitrepo: https://codeberg.org/xals/alexis.lahouze.org
|
||||
|
||||
pagination:
|
||||
pagerSize: 15
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
{{ with .GitInfo }}
|
||||
<p>Dernière modification :
|
||||
<ul>
|
||||
<li>commit {{ .Hash }}</li>
|
||||
<li>du {{ .AuthorDate | time.Format ":date_full" }} à {{ .AuthorDate | time.Format ":time_full" }}</li>
|
||||
<li>par {{ .AuthorName }} <{{ replace .AuthorEmail "@" " at " }}></li>
|
||||
</ul>
|
||||
<p>
|
||||
Modifié par
|
||||
<a href="mailto:{{ replace .AuthorEmail "@" "_NOSPAM@" }}">
|
||||
{{ .AuthorName }}
|
||||
</a>
|
||||
le {{ .AuthorDate | time.Format ":date_full" }} à {{ .AuthorDate | time.Format ":time_full" }}
|
||||
<br />
|
||||
> commit
|
||||
<a href="{{ site.Param "gitrepo" }}/commit/{{ .Hash }}">
|
||||
{{ .AbbreviatedHash }} - {{ .Subject }}
|
||||
</a>
|
||||
</p>
|
||||
{{ end }}
|
||||
<p>Généré par Hugo version {{ hugo.Version }}</p>
|
||||
|
||||
Reference in New Issue
Block a user