Browse Source

Avoid a go template problem with irc:// links by hardcoding

biological-sex
Nick Thomas 5 years ago
parent
commit
d56db75e65
  1. 3
      config.toml
  2. 1
      themes/grid-side/layouts/partials/core/main-menu.html
  3. 1
      themes/grid-side/layouts/partials/homepage/single.html

3
config.toml

@ -31,9 +31,6 @@ SectionPagesMenu = "Main"
[[Params.Footer.List]]
icon_class = "envelope"
icon_link = "mailto:me@ur.gs"
[[Params.Footer.List]]
icon_class = "hashtag"
icon_link = "irc://chat.freenode.net/lupine"
[[Params.Footer.List]]
icon_class = "gitlab"
icon_link = "https://gitlab.com/u/lupine"

1
themes/grid-side/layouts/partials/core/main-menu.html

@ -45,6 +45,7 @@
</a>
</li>
{{ end }}
<li><a href="irc://chat.freenode.net/lupine"><i class="fa fa-hashtag fa-2x"></i></a></li>
{{ end }}
<li class="blue-grey-text" style="border-top: 1px solid;"><!-- Separator --></li>
<li>

1
themes/grid-side/layouts/partials/homepage/single.html

@ -89,6 +89,7 @@
</li>
<li>|</li>
{{ end }}
<li><a href="irc://chat.freenode.net/lupine"><i class="fa fa-hashtag"></i></a></li>
<li>{{ $.Site.Copyright | markdownify }}</li>
</ul>
</div>

Loading…
Cancel
Save