Skip to content

Commit

Permalink
fix for why.openbsd.rocks
Browse files Browse the repository at this point in the history
  • Loading branch information
noqqe committed Oct 27, 2020
1 parent 1f34d5b commit 8bd7f4c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
baseURL = "https://why-openbsd.rocks/"
title = "Why OpenBSD rocks"
theme = "ease"
6 changes: 3 additions & 3 deletions themes/ease/layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml" />

<!-- CSS -->
<link href="{{ .Site.BaseURL }}css/styles.css" media="all" rel="stylesheet" />
<link href="{{ .Site.BaseURL }}fonts/font.css" rel="stylesheet" type="text/css">
<link href="{{ .Site.BaseURL }}/css/styles.css" media="all" rel="stylesheet" />
<link href="{{ .Site.BaseURL }}/fonts/font.css" rel="stylesheet" type="text/css">

<!-- JS -->
<script src="/js/put.js"></script>
Expand All @@ -44,7 +44,7 @@
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setCookieDomain", "*.why-openbsd.rocks"]);
_paq.push(["setDomains", ["*.why-openbsd.rocks","*.why-openbsd.rocks"]]);
_paq.push(["setDomains", ["*.why-openbsd.rocks","*.why-openbsd.rocks", "*.why.openbsd.rocks", "why.openbsd.rocks"]]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
Expand Down
6 changes: 3 additions & 3 deletions themes/ease/layouts/partials/menu.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<hr>
<footer>
<a href="{{ .Site.BaseURL}}">&#8618;&#xFE0E; Get <b>new</b> random fact</a> &#8226;
<a href="{{ .Site.BaseURL}}fact">&Sigma; All facts</a> &#8226;
<a href="{{ .Site.BaseURL}}about">&hearts; About</a> &#8226;
<a href="{{ .Site.BaseURL}}/">&#8618;&#xFE0E; Get <b>new</b> random fact</a> &#8226;
<a href="{{ .Site.BaseURL}}/fact">&Sigma; All facts</a> &#8226;
<a href="{{ .Site.BaseURL}}/about">&hearts; About</a> &#8226;
<a href="https://github.com/noqqe/why-openbsd.rocks">&#177; Contribute</a>
</footer>

0 comments on commit 8bd7f4c

Please sign in to comment.