mirror of
https://github.com/fruworg/themu.git
synced 2024-11-16 07:07:16 +03:00
NavBar Updates
This commit is contained in:
parent
b22ea86f5e
commit
7d19d8b66a
@ -24,3 +24,22 @@ url = "https://github.com/athulcajay/"
|
|||||||
name = "GitLab"
|
name = "GitLab"
|
||||||
icon = "gitlab"
|
icon = "gitlab"
|
||||||
url = "https://gitlab.com/athul/"
|
url = "https://gitlab.com/athul/"
|
||||||
|
[[menu.main]]
|
||||||
|
name = "Home"
|
||||||
|
url = "/"
|
||||||
|
weight = 1
|
||||||
|
|
||||||
|
[[menu.main]]
|
||||||
|
name = "All posts"
|
||||||
|
url = "/posts"
|
||||||
|
weight = 2
|
||||||
|
|
||||||
|
[[menu.main]]
|
||||||
|
name = "About"
|
||||||
|
url = "/about"
|
||||||
|
weight = 3
|
||||||
|
|
||||||
|
[[menu.main]]
|
||||||
|
name = "Tags"
|
||||||
|
url = "/tags"
|
||||||
|
weight = 4
|
@ -22,9 +22,10 @@
|
|||||||
<a style="font-size: {{ $size }}rem;" href="{{ $.Site.LanguagePrefix | absURL }}{{ $data.Plural }}/{{ $value.Name | urlize }}/">{{ $value.Name }}</a>
|
<a style="font-size: {{ $size }}rem;" href="{{ $.Site.LanguagePrefix | absURL }}{{ $data.Plural }}/{{ $value.Name | urlize }}/">{{ $value.Name }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<hr>
|
||||||
{{ partial "footer.html" . }}
|
{{ partial "footer.html" . }}
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
<footer>
|
<footer>
|
||||||
|
{{- range $index, $key := .Site.Params.Social -}}
|
||||||
|
<a class="soc" href="{{ $key.url }}" title="{{ $key.name }}"><i data-feather="{{ $key.icon }}"></i></a>|
|
||||||
|
{{- end -}} ⚡️
|
||||||
{{ .Date.Year}} {{ with .Site.Copyright }} {{ . }} | {{ end }} <a href="https://github.com/athul/archie">Archie Theme</a> | Built with <a href="https://gohugo.io">Hugo</a>
|
{{ .Date.Year}} {{ with .Site.Copyright }} {{ . }} | {{ end }} <a href="https://github.com/athul/archie">Archie Theme</a> | Built with <a href="https://gohugo.io">Hugo</a>
|
||||||
</footer>
|
</footer>
|
||||||
{{ if not .Site.IsServer }}
|
{{ if not .Site.IsServer }}
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
|
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
|
||||||
</div>
|
</div>
|
||||||
<nav>
|
<nav>
|
||||||
{{- range $index, $key := .Site.Params.Social -}}
|
{{ range .Site.Menus.main }}
|
||||||
<a class="soc" href="{{ $key.url }}" title="{{ $key.name }}"><i data-feather="{{ $key.icon }}"></i></a>|
|
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||||
{{- end -}} ⚡️
|
{{ end }}
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
@ -205,7 +205,10 @@ justify-content: space-between;
|
|||||||
content: "🏷 ";
|
content: "🏷 ";
|
||||||
}
|
}
|
||||||
.tags a{
|
.tags a{
|
||||||
border-bottom: 3px solid blue;
|
border-bottom: 3px solid var(--maincolor);
|
||||||
|
}
|
||||||
|
.tags a:hover{
|
||||||
|
color: var(--hovercolor);
|
||||||
}
|
}
|
||||||
svg{
|
svg{
|
||||||
max-height: 15px;
|
max-height: 15px;
|
||||||
|
Loading…
Reference in New Issue
Block a user