This repository has been archived on 2022-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
IcyNet.eu/views/layout.pug

92 lines
3.9 KiB
Plaintext

doctype html
html
head
meta(charset="utf8")
meta(name="viewport", content="width=device-width, initial-scale=1, shrink-to-fit=no")
block meta
meta(name="og:title", content="Icy Network")
meta(name="og:description", content="Icy Network is a Global Network of Communities and Websites, United by a Single Login")
meta(name="og:image", content="https://icynet.eu/static/image/icynet-icon.png")
meta(name="og:type", content="website")
meta(name="twitter:card", content="summary")
meta(name="twitter:title", content="Icy Network")
meta(name="twitter:description", content="Icy Network is a Global Network of Communities and Websites, United by a Single Login")
if matomo
script(type="text/javascript").
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setCookieDomain", "*.#{matomo.site_domain}"]);
_paq.push(["setDomains", ["*.#{matomo.site_domain}"]]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="#{matomo.track_url}";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '#{matomo.site_id}']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
block links
link(rel="stylesheet", type="text/css", href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css")
link(rel="stylesheet", type="text/css", href="/style/main.css")
link(rel="stylesheet", type="text/css", href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css")
script(src="/script/main.js")
title
block title
body
noscript
h2 This site requires JavaScript to work properly! Some features may be limited or missing entirely.
p Please consider enabling JavaScript for the full experience. We respect your browser's privacy settings.
p This site is entirely free and open source:
a(href="https://gitlab.icynet.eu/IcyNetwork/IcyNet.eu" target="_blank") Browse the repository
if matomo
img.d-inline-block.align-top(src="#{matomo.track_url}piwik.php?idsite=1&rec=1" style="border:0;" alt="")
block nav
nav.navbar.navbar-expand-lg.navbar-light.bg-light.sticky-top
a.navbar-brand(href="/")
img(src="/static/image/icynet-icon.png" width="30" heigth="30")
| Icy Network
button.navbar-toggler(type="button" data-toggle="collapse" data-target="#navCollapse" aria-controls="navCollapse" aria-expanded="false" aria-label="Toggle navigation")
span.navbar-toggler-icon
.navbar-collapse.collapse#navCollapse
ul.mr-auto.navbar-nav
li.nav-item
a.nav-link(href="/") Home
li.nav-item
a.nav-link(href="/news") News
li.nav-item
a.nav-link(href="https://forum.icynet.eu/") Forum
li.nav-item
a.nav-link(href="https://social.icynet.eu/") Social
ul.navbar-nav.my-2.my-lg-0
if user
li.nav-item
a.nav-link(href="/user/manage") #{user.display_name}
li.nav-item
a.nav-link(href="/logout") Log out
else
li.nav-item
a.nav-link(href="/login") Log in
main(role="main")
block body
block footer
//FOOTER
footer.container.mb-4
p
|© 2017 - 2021 
a(href="https://lunasqu.ee" target="_blank" rel="nofollow") Evert Prants
span.float-sm-right.ml-4
a(href="/docs/terms-of-service") Terms
| ·
a(href="/docs/privacy-policy") Privacy
| ·
a(href="/donate") Donate
.d-flex.justify-content-center
a.btn-social#gitlab(href="https://gitlab.icynet.eu/IcyNetwork/" rel="me" target="_blank")
i.fab.fa-fw.fa-gitlab
a.btn-social#mastodon(href="https://fosstodon.org/@icynet" rel="me" target="_blank")
i.fab.fa-fw.fa-mastodon