diff --git a/layouts/partials/header.html b/layouts/partials/header.html index a2b09a4a..732f8236 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -131,6 +131,14 @@ {{- .Name -}} {{ .Post -}} + {{- if (findRE "://" .URL) }} + + + + + + {{- end }} {{- end }} diff --git a/layouts/partials/index_profile.html b/layouts/partials/index_profile.html index 515073e4..fe489427 100644 --- a/layouts/partials/index_profile.html +++ b/layouts/partials/index_profile.html @@ -35,7 +35,17 @@
{{- range . }} - {{ .name }} + + {{ .name }} + {{- if (findRE "://" .url) }} + + + + + + {{- end }} + {{- end }}