chg: [theme] ajout d'un petit crayon pour faciliter la vie des auteurs

This commit is contained in:
Alexandre Dulaunoy 2024-03-10 12:56:57 +01:00
parent 7f57f45eeb
commit f16fcc493b
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD
2 changed files with 6 additions and 1 deletions

View file

@ -8,7 +8,7 @@
<path d="M1.293 7.793A1 1 0 0 1 1 7.086V2a1 1 0 0 0-1 1v4.586a1 1 0 0 0 .293.707l7 7a1 1 0 0 0 1.414 0l.043-.043-7.457-7.457z"/> <path d="M1.293 7.793A1 1 0 0 1 1 7.086V2a1 1 0 0 0-1 1v4.586a1 1 0 0 0 .293.707l7 7a1 1 0 0 0 1.414 0l.043-.043-7.457-7.457z"/>
</svg> </svg>
{{ . }} {{ . }}
</a> </a>
{{ end }} {{ end }}
</span> </span>
{{ end }} {{ end }}

View file

@ -38,4 +38,9 @@
{{ range .Params.tags }} {{ range .Params.tags }}
<a href="/tags/{{ . }}">{{ . }}</a> <a href="/tags/{{ . }}">{{ . }}</a>
{{ end }} {{ end }}
{{ if .IsPage }}
{{ with .Page.File.Path }}
&#8200; <a href='https://github.com/adulau/sillon-fictionnel/edit/main/content/{{ . }}' class="btn"><i class="fa-solid fa-pencil"></i></a>
{{ end }}
{{ end }}
</div> </div>