Skip to content

Commit

Permalink
header footer update
Browse files Browse the repository at this point in the history
  • Loading branch information
hakonhjaltalin committed Feb 8, 2024
1 parent 9a9ea16 commit 46c2ab6
Show file tree
Hide file tree
Showing 9 changed files with 9,968 additions and 6,687 deletions.
8 changes: 6 additions & 2 deletions _includes/components/language-toggle.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{%- for language in site.languages -%}
{%- assign language_abbreviation = site.languages_public[language] | default: language -%}
{%- if language != page.language -%}
<a href="{{ page.url_by_language[language] }}">
{{ page.t.languages[language] }}
<a
id="link-button-language"
class="link-button"
href="{{ page.url_by_language[language] }}"
>
<i class="picon-tungumal"></i>{{ page.t.languages[language] }}
</a>
{%- endif -%}
{%- endfor -%}
425 changes: 350 additions & 75 deletions _includes/footer-en.html

Large diffs are not rendered by default.

411 changes: 342 additions & 69 deletions _includes/footer-is.html

Large diffs are not rendered by default.

3,572 changes: 3,572 additions & 0 deletions _includes/footer.html

Large diffs are not rendered by default.

44 changes: 30 additions & 14 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,24 @@
<!-- Title and meta description
================================================== -->

<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900"
type="text/css">
<link rel="stylesheet" href="https://use.typekit.net/ewh2tqd.css">

<style>
@font-face {
font-family: "hagstofa7";
src:url("//haxdev.s3.amazonaws.com/static/fonts/hagstofa7.eot");
src:url("//haxdev.s3.amazonaws.com/static/fonts/hagstofa7.eot%3F%23iefix") format("embedded-opentype"),
url("//haxdev.s3.amazonaws.com/static/fonts/hagstofa7.woff") format("woff"),
url("//haxdev.s3.amazonaws.com/static/fonts/hagstofa7.ttf") format("truetype"),
url("//haxdev.s3.amazonaws.com/static/fonts/hagstofa7.svg%23hagstofa7") format("svg");
font-weight: normal;
font-style: normal;
}
</style>

{% include title-tag.html %}

{% if site.environment == 'staging' or include.noindex %}
Expand Down Expand Up @@ -51,21 +69,19 @@
{%- endfor -%}
{%- endif -%}

<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://hagstofa.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '5']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='//cdn.matomo.cloud/hagstofa.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})();
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://hagstofa.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='//cdn.matomo.cloud/hagstofa.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->

{% include meta-tags.html %}

Expand Down
4,586 changes: 1,898 additions & 2,688 deletions _includes/header-en.html

Large diffs are not rendered by default.

Loading

0 comments on commit 46c2ab6

Please sign in to comment.