Browse Source

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

biological-sex
Nick Thomas 4 years ago
parent
commit
d56db75e65
3 changed files with 2 additions and 3 deletions
  1. +0
    -3
      config.toml
  2. +1
    -0
      themes/grid-side/layouts/partials/core/main-menu.html
  3. +1
    -0
      themes/grid-side/layouts/partials/homepage/single.html

+ 0
- 3
config.toml View File

@@ -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
- 0
themes/grid-side/layouts/partials/core/main-menu.html View File

@@ -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
- 0
themes/grid-side/layouts/partials/homepage/single.html View File

@@ -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