Skip to content

Commit 440e318

Browse files
author
willitcode
committed
github button in footer
1 parent cc2f71b commit 440e318

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed

config.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ theme = "ananke"
44

55
[params]
66
background_color_class = "bg-dark-green"
7-
# Can't figure out how to get this to tint the image
8-
# without also dimming the text
9-
#cover_dimming_class = "bg-dark-green o-60"
7+
8+
[params.ananke.social.follow]
9+
networks = ["github"]
10+
11+
[params.ananke.social.github]
12+
profilelink = "https://github.com/willitcode/ccai"
1013

1114
[[menus.main]]
1215
name = "The Problem"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<nav class="pv3 ph3 ph4-ns" role="navigation">
2+
<div class="flex-l justify-between items-center center">
3+
<a href="{{ .Site.Home.RelPermalink }}" class="f3 fw2 hover-white no-underline white-90 dib">
4+
{{ with .Site.Params.site_logo }}
5+
<img src="{{ relURL . }}" class="w100 mw5-ns" alt="{{ $.Site.Title }}" />
6+
{{ else }}
7+
{{ .Site.Title }}
8+
{{ end }}
9+
</a>
10+
<div class="flex-l items-center">
11+
{{ partial "i18nlist.html" . }}
12+
{{ if .Site.Menus.main }}
13+
<ul class="{{ cond (eq $.Site.Language.LanguageDirection "rtl") "pr0 ml3" "pl0 mr3" }}">
14+
{{ range .Site.Menus.main }}
15+
<li class="list f5 f4-ns fw4 dib {{ cond (eq $.Site.Language.LanguageDirection "rtl") "pl3" "pr3" }}">
16+
<a class="hover-white no-underline white-90" href="{{ .URL }}" title="{{ i18n "pageTitle" . }}">
17+
{{ .Name }}
18+
</a>
19+
</li>
20+
{{ end }}
21+
</ul>
22+
{{ end }}
23+
</div>
24+
</div>
25+
</nav>

0 commit comments

Comments
 (0)