Skip to content

Commit

Permalink
site upload
Browse files Browse the repository at this point in the history
  • Loading branch information
hakonhjaltalin committed Mar 23, 2023
1 parent 815fd6b commit 882a867
Show file tree
Hide file tree
Showing 26 changed files with 7,327 additions and 66 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ gem "jekyll", "3.8.4"
gem "html-proofer", "3.19.4"
gem "jekyll-remote-theme"
gem "deep_merge"
gem "jekyll-open-sdg-plugins", "2.1.0"
gem "jekyll-open-sdg-plugins", "2.0.0"
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ remote_theme: open-sdg/[email protected]
# Replace this title as needed.
title: general.site_title
url: ""
environment: staging
environment: production
baseurl: ""

# Pages
collections:
Expand Down
52 changes: 16 additions & 36 deletions _data/site_config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
analytics:
analytics:
ua: ''
gtag: ''
gtm: ''
Expand All @@ -17,13 +17,11 @@ breadcrumbs:
post:
- path: /
label: general.home
- path: /news
label: menu.updates
cookie_consent_form:
enabled: false
country:
name: Australia
adjective: Australian
name: Iceland
adjective: Icelandic
create_goals:
previous_next_links: false
goals: []
Expand Down Expand Up @@ -55,17 +53,15 @@ disclaimer:
message: ''
hidden: false
email_contacts:
questions: [email protected]
suggestions: [email protected]
functional: [email protected]
environment: staging
questions: [email protected]
suggestions: [email protected]
functional: [email protected]
environment: production
footer_language_toggle: none
footer_menu:
- path: /contact-us
translation_key: menu.contact_us
- path: 'https://twitter.com/MyTwitterAccount'
translation_key: general.twitter
- path: 'https://facebook.com/MyFacebookAccount'
- path: 'https://www.facebook.com/hagstofan'
translation_key: general.facebook
- path: /about/cookies-and-privacy/
translation_key: menu.cookies
Expand All @@ -76,29 +72,13 @@ frontpage_cards:
button_label: ''
button_link: ''
rule_color: ''
- title: Lorem ipsum
content: |
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi mollis
cursus est sed dapibus.
include: ''
button_label: Read more
button_link: 'https://example.com'
rule_color: ''
- title: Nam vestibulum
content: |
Nam vestibulum, purus quis porttitor imperdiet, nisl sem mollis nisl, a
interdum risus enim vitae tortor. Donec feugiat accumsan rutrum.
include: ''
button_label: Read more
button_link: 'https://example.com'
rule_color: ''
frontpage_goals_grid:
title: frontpage.heading_short
description: frontpage.instructions_shorter
description: frontpage.instructions_short
frontpage_introduction_banner:
title: frontpage.intro_title
description: frontpage.intro_body
goal_image_base: 'https://open-sdg.org/sdg-translations/assets/img/goals'
goal_image_base: 'https://hagstofan.github.io/heimsmarkmid-translations/assets/img/goals'
goal_image_extension: ''
goals_page:
title: general.goals
Expand Down Expand Up @@ -138,8 +118,8 @@ indicator_tabs:
tab_3: ''
tab_4: ''
languages:
- is
- en
- es
languages_public: []
logos: []
map_layers: []
Expand Down Expand Up @@ -185,9 +165,6 @@ menu:
- path: /faq
translation_key: menu.faq
dropdown: []
- path: /news
translation_key: menu.updates
dropdown: []
metadata_edit_url: metadata
metadata_tabs:
- scope: national
Expand All @@ -204,7 +181,7 @@ news:
progress_status:
status_heading: ''
status_types: []
remote_data_prefix: 'https://open-sdg.org/open-sdg-data-starter'
remote_data_prefix: 'https://hagstofan.github.io/heimsmarkmid-data'
reporting_status:
title: status.reporting_status
description: status.description
Expand All @@ -219,7 +196,10 @@ reporting_status:
- value: notapplicable
label: status.not_applicable
hide_on_goal_pages: false
repository_url_data: 'https://github.com/open-sdg/open-sdg-data-starter'
- value: inprogress
label: status.in_progress
hide_on_goal_pages: false
repository_url_data: 'https://github.com/hagstofan/heimsmarkmid-data'
repository_url_site: ''
search_index_boost: []
search_index_extra_fields: []
Expand Down
2 changes: 1 addition & 1 deletion _data/site_config_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

environment: production
# Replace my-github-org and open-sdg-data-starter as needed.
remote_data_prefix: "https://my-github-org.github.io/open-sdg-data-starter"
remote_data_prefix: "https://hagstofan.github.io/heimsmarkmid-data"

analytics:
# For production, you likely want to enter a Google Analytics code below.
Expand Down
8 changes: 8 additions & 0 deletions _includes/components/language-toggle.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{%- 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>
{%- endif -%}
{%- endfor -%}
81 changes: 81 additions & 0 deletions _includes/footer-en.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<footer>
<div class="footer-bottom">
<div class="fp-container">
<div class="row">
<div class="col-sm-4" id="footer-contact-info">
<ul>
<li>
<i class="fa fa-phone fa-fw"></i>
<a href="tel:+354 528 1000">Tel: +354 528 1000</a>
</li>
<li>
<i class="fa fa-map-marker fa-fw"></i>
Borgartún 21A, 105 Reykjavík
</li>
<li>
<i class="fa fa-clock-o fa-fw"></i>
Open Mon-Thu 9:00-16:00 and Fri 9:00-12:00
</li>
<li>
<i class="fa fa-book fa-fw"></i>
<a href="/services/contact-us/">Contact us</a>
</li>
<li>
<i class="fa fa-envelope fa-fw"></i>
[email protected]
</li>
<li>
<i class="fa fa-facebook-square fa-fw"></i>
<a href="https://facebook.com/hagstofan">facebook.com/hagstofan</a>
</li>
</ul>
</div>
<div class="col-sm-4 col-sm-offset-4 hidden-xs" id="footer-branding">
<span class="addr-title">
<img
src="//hagstofan.s3.amazonaws.com/static/img/hagstofa_1_en_footer.png"
alt="Hagstofa Íslands"
/>
</span>
<hr />

<div id="footer-logos">
<img id="eurostat-logo" src="//hagstofan.s3.amazonaws.com/static/img/eurostat_1.png" alt="Eurostat" />
<img
id="carbon-fund-logo"
src="//hagstofan.s3.amazonaws.com/static/img/kolvidur_1.png"
alt="Iceland Carbon Fund"
/>
<img
id="green-steps-logo"
src="//hagstofan.s3.amazonaws.com/static/img/hvitt_graen_skref_logo.png"
alt="Græn skref"
/>
</div>

<div class="cert-item">
<img
class="cert-img"
src="//hagstofan.s3.amazonaws.com/static/img/EQP_ISO27001_mark_white.png"
alt="EQP ISO/IEC 27001 mark"
/>
<span id="cert-numbers">
<span class="cert-number">IS 643927</span>
<span class="cert-number">EQ 717464</span>
</span>
</div>

<div id="equal-pay">
<img
src="//hagstofan.s3.amazonaws.com/static/img/EqualPay_2020_2023_secondaryUse_on_dark_background.png"
alt="Equal pay 2020-2023 mark"
/>
</div>
</div>
</div>
</div>
</div>

{% include scripts.html %}

</footer>
83 changes: 83 additions & 0 deletions _includes/footer-is.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<footer>
<div class="footer-bottom">
<div class="fp-container">
<div class="row">
<div class="col-sm-4" id="footer-contact-info">
<ul>
<li>
<i class="fa fa-phone fa-fw"></i>
<a href="tel:+354 528 1000">Sími: +354 528 1000</a>
</li>
<li>
<i class="fa fa-map-marker fa-fw"></i>
Borgartún 21A, 105 Reykjavík
</li>
<li>
<i class="fa fa-clock-o fa-fw"></i>
Opið mán-fim kl. 9.00-16.00 og fös kl. 9.00-12.00
</li>
<li>
<i class="fa fa-book fa-fw"></i>
<a href="https://hagstofa.is/thjonusta/hafa-samband/">Hafa samband</a>
</li>
<li>
<i class="fa fa-envelope fa-fw"></i>
[email protected]
</li>
<li>
<i class="fa fa-facebook-square fa-fw"></i>
<a href="https://facebook.com/hagstofan">facebook.com/hagstofan</a>
</li>
</ul>
</div>
<div class="col-sm-4 col-sm-offset-4 hidden-xs" id="footer-branding">
<span class="addr-title">
<img
src="//hagstofan.s3.amazonaws.com/static/img/hagstofa_1_footer.png"
alt="Hagstofa Íslands"
/>
</span>
<hr />

<div id="footer-logos">
<img id="eurostat-logo" src="//hagstofan.s3.amazonaws.com/static/img/eurostat_1.png" alt="Eurostat" />
<img
id="carbon-fund-logo"
src="//hagstofan.s3.amazonaws.com/static/img/kolvidur_1.png"
alt="Kolefnisvottorð"
/>
<img
id="green-steps-logo"
src="//hagstofan.s3.amazonaws.com/static/img/hvitt_graen_skref_logo.png"
alt="Græn skref"
/>
</div>

<div class="cert-item">
<img
class="cert-img"
src="//hagstofan.s3.amazonaws.com/static/img/EQP_ISO27001_mark_white.png"
alt="EQP ISO/IEC 27001 merki"
/>
<span id="cert-numbers">
<span class="cert-number">IS 643927</span>
<span class="cert-number">EQ 717464</span>
</span>
</div>

<div id="equal-pay">
<img
src="//hagstofan.s3.amazonaws.com/static/img/Jafnlaunavottun_2020_2023_f_dokkan_grunn.png"
alt="Jafnlaunavottun 2020-2023 merki"
/>
</div>
</div>
</div>
</div>
</div>
</footer>

{% include scripts.html %}

</body>
</html>
9 changes: 9 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{%- if page.language == "en" -%}

{% include footer-en.html %}

{%- else -%}

{% include footer-is.html %}

{%- endif -%}
Loading

0 comments on commit 882a867

Please sign in to comment.