- documented external links usage

- copied forawesome 1.2
- updated readme & contribution guideline
This commit is contained in:
zjedi 2023-03-11 22:46:22 +01:00
parent 030c9eede8
commit a3c7cb214e
9 changed files with 2997 additions and 2619 deletions

View file

@ -12,9 +12,9 @@
{{ with .Params.header_subheadline }}<h2 class="blog-description">{{ . }}</h2>{{ end }}
{{ range where $sections ".Params.header_menu" "eq" true }}
{{ if isset .Params "external" }}
<a class='btn site-menu' href='{{ .Params.external }}'>{{ .Title }}</a>
{{ else }}
{{ if isset .Params "external" }}
<a class='btn site-menu' href='{{ .Params.external }}'>{{ .Title }} <icon class="fa fa-external-link"></icon></a>
{{ else }}
<a class='btn site-menu' data-title-anchor='{{ anchorize .Title }}'>{{ .Title }}</a>
{{ end }}
{{ end }}