quartz/layouts/partials/github.html
yshalsager 657985aacf
feat: Add internationalization (i18n) support
* Extract all strings into data/locale.toml files.
* Use data/config values from correct language file.
* Fix wrong lang attribute in some html layouts.
* Fix header direction in rtl.
* Fix footer text align in rtl.

Signed-off-by: yshalsager <ysh-alsager@hotmail.com>
2022-08-22 09:48:13 +02:00

4 lines
154 B
HTML

{{if $.Site.Data.config.enableGitHubEdit}}
<a href="{{$.Site.Data.config.GitHubLink}}/{{.File.Path}}" rel="noopener">{{ i18n "edit_source" }}</a>
{{end}}