Factor GitHub URL and resume link into configuration
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
282b18f9a0
commit
d570c8f421
|
@ -5,8 +5,12 @@
|
|||
<div class="container">
|
||||
<a href="{{ .Site.BaseURL }}">{{ i18n "home" }}</a>
|
||||
<a href="{{ relref . "about" }}">{{ i18n "about" }}</a>
|
||||
<a href="https://github.com/DanilaFe">GitHub</a>
|
||||
<a href="{{ .Site.BaseURL }}/Resume-Danila-Fedorin.pdf">{{ i18n "resume" }}</a>
|
||||
{{ with .Site.Params.githubUsername }}
|
||||
<a href="https://github.com/{{ . }}">GitHub</a>
|
||||
{{ end }}
|
||||
{{ if .Site.Params.resumeStaticFile }}
|
||||
<a href="{{ .Site.BaseURL }}/{{ .Site.Params.resumeStaticFile }}">{{ i18n "resume" }}</a>
|
||||
{{ end }}
|
||||
<a href="{{ .Site.BaseURL }}/tags">{{ i18n "tags" }}</a>
|
||||
<a href="{{ .Site.BaseURL }}/series">{{ i18n "series" }}</a>
|
||||
<a href="{{ .Site.BaseURL }}/favorites">{{ i18n "favorites" }}</a>
|
||||
|
|
Loading…
Reference in New Issue
Block a user