mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-25 01:26:31 -05:00
Merge pull request #14 from koirand/icon
Change navi link to icon Close #13
This commit is contained in:
commit
6fcaa6cbe4
4 changed files with 98 additions and 89 deletions
|
@ -26,16 +26,24 @@ pygmentsUseClasses = false
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Blog"
|
name = "Blog"
|
||||||
|
pre = "<i class='fa fa-book-open fa-lg'></i>"
|
||||||
url = "/blog/"
|
url = "/blog/"
|
||||||
|
weight = 10
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Twitter"
|
name = "Twitter"
|
||||||
|
pre = "<i class='fab fa-twitter fa-lg'></i>"
|
||||||
url = "https://twitter.com/username"
|
url = "https://twitter.com/username"
|
||||||
|
weight = 20
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "GitHub"
|
name = "GitHub"
|
||||||
|
pre = "<i class='fab fa-github fa-lg'></i>"
|
||||||
url = "https://github.com/username"
|
url = "https://github.com/username"
|
||||||
|
weight = 30
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Email"
|
name = "Email"
|
||||||
|
pre = "<i class='fa fa-envelope fa-lg'></i>"
|
||||||
url = "mailto:username@example.com"
|
url = "mailto:username@example.com"
|
||||||
|
weight = 40
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
{{ range .Site.Menus.main }}
|
{{ range .Site.Menus.main }}
|
||||||
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
<li><a href="{{ .URL }}">{{ .Pre }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
<link rel="stylesheet" href="/css/style.css">
|
<link rel="stylesheet" href="/css/style.css">
|
||||||
<link rel="stylesheet" href="/css/markdown.css">
|
<link rel="stylesheet" href="/css/markdown.css">
|
||||||
<link rel="stylesheet" href="/css/syntax-highlight.css">
|
<link rel="stylesheet" href="/css/syntax-highlight.css">
|
||||||
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
|
||||||
|
|
||||||
<!-- custom css -->
|
<!-- custom css -->
|
||||||
{{ range .Site.Params.custom_css }}
|
{{ range .Site.Params.custom_css }}
|
||||||
|
|
Loading…
Reference in a new issue