src: Use a separate param for header username
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
This commit is contained in:
parent
7b20e86b27
commit
7e99bf9e4e
|
@ -11,6 +11,7 @@ theme = "hugo-theme-vec"
|
|||
url = "/contact"
|
||||
|
||||
[params]
|
||||
Username = "MSFJarvis"
|
||||
GithubID = "MSF-Jarvis"
|
||||
TwitterID = "MSF_Jarvis"
|
||||
LinkedInID = "harsh-shandilya-557334121"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{{ $title := lower .Title }}
|
||||
{{ $section := lower .Section }}
|
||||
<li class="pull-left {{ if .IsHome }}current{{ end }}">
|
||||
<a href="{{ .Site.BaseURL }}">/home/{{ lower .Site.Title}}</a>
|
||||
<a href="{{ .Site.BaseURL }}">/home/{{ lower .Site.Params.Username}}</a>
|
||||
</li>
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ $name := lower .Name }}
|
||||
|
|
Loading…
Reference in New Issue