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

109 lines
4.1 KiB
Plaintext
Raw Normal View History

2017-08-02 21:24:01 +00:00
doctype html
html
head
meta(charset="utf8")
2018-01-28 19:15:53 +00:00
meta(name="viewport", content="width=device-width, initial-scale=1, shrink-to-fit=no")
2018-01-27 11:07:36 +00:00
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
2017-08-31 12:32:00 +00:00
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}"]]);
2017-08-31 12:32:00 +00:00
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="#{matomo.track_url}";
2017-08-31 12:32:00 +00:00
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '#{matomo.site_id}']);
2017-08-31 12:32:00 +00:00
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);
})();
2017-08-29 12:00:36 +00:00
block links
2018-01-28 19:15:53 +00:00
link(rel="stylesheet", type="text/css", href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css")
2017-08-29 12:00:36 +00:00
link(rel="stylesheet", type="text/css", href="/style/main.css")
link(rel="stylesheet", type="text/css", href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css")
script(src="/script/main.js")
2017-11-07 14:51:48 +00:00
block cookieconsent
link(rel="stylesheet", type="text/css", href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.4/cookieconsent.min.css")
script(src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.4/cookieconsent.min.js")
script(type="text/javascript").
window.addEventListener('load', function () {
window.cookieconsent.initialise({
container: document.body,
palette:{
popup: {background: "#00dbf7"},
button: {background: "#0074d0"},
},
revokable: false,
law: {
regionalLaw: false,
},
location: true,
});
});
2017-08-02 21:24:01 +00:00
title
block title
body
2018-01-03 17:55:55 +00:00
noscript
h2 This site requires JavaScript to work properly!
p Please consider enabling JavaScript for the full experience.
if matomo
p
2018-01-28 19:15:53 +00:00
img.d-inline-block.align-top(src="#{matomo.track_url}piwik.php?idsite=1&rec=1" style="border:0;" alt="")
2017-08-02 21:24:01 +00:00
block nav
2018-01-28 19:15:53 +00:00
nav.navbar.navbar-expand-lg.navbar-light.bg-light.sticky-top
a.navbar-brand(href="/")
img(src="/static/image/icynet-icon.svg" 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
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
2018-02-07 17:03:57 +00:00
footer.container.mb-4
2018-01-28 19:15:53 +00:00
p
2019-01-19 22:41:22 +00:00
|© 2017 - 2019 Icy Network
2018-02-07 17:03:57 +00:00
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/" target="_blank")
i.fa.fa-fw.fa-gitlab
2018-02-07 17:03:57 +00:00
a.btn-social#twitter(href="https://twitter.com/IcyNet" target="_blank")
i.fa.fa-fw.fa-twitter
a.btn-social#discord(href="https://discord.gg/Xe7MKSx" target="_blank")
span