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

86 lines
3.6 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")
2019-10-26 09:54:51 +00:00
link(rel="stylesheet", type="text/css", href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css")
2017-08-29 12:00:36 +00:00
script(src="/script/main.js")
2017-08-02 21:24:01 +00:00
title
block title
body
2018-01-03 17:55:55 +00:00
noscript
2020-01-28 20:27:24 +00:00
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.
2021-03-06 10:49:03 +00:00
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
2020-01-28 20:27:24 +00:00
img.d-inline-block.align-top(src="#{matomo.track_url}piwik.php?idsite=1&rec=1" style="border:0;" alt="")
2018-01-28 19:15:53 +00:00
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.png" width="30" heigth="30")
| Icy Network
2018-01-28 19:15:53 +00:00
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
2020-06-06 07:46:50 +00:00
li.nav-item
a.nav-link(href="https://social.icynet.eu/") Social
2018-01-28 19:15:53 +00:00
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
2021-03-06 10:49:03 +00:00
|© 2017 - 2021 
2019-03-20 22:13:06 +00:00
a(href="https://lunasqu.ee" target="_blank" rel="nofollow") Evert Prants
2018-02-07 17:03:57 +00:00
span.float-sm-right.ml-4
a(href="/docs/terms-of-service") Terms
2021-04-28 13:03:33 +00:00
| · 
2018-02-07 17:03:57 +00:00
a(href="/docs/privacy-policy") Privacy
.d-flex.justify-content-center
2019-10-26 09:54:51 +00:00
a.btn-social#gitlab(href="https://gitlab.icynet.eu/IcyNetwork/" rel="me" target="_blank")
i.fab.fa-fw.fa-gitlab