Skip to content

Commit 7f0ca77

Browse files
committed
work more on the layout
Signed-off-by: Riccardo Iaconelli <riccardo@kde.org>
1 parent 51fecfa commit 7f0ca77

7 files changed

Lines changed: 15 additions & 57 deletions

File tree

_config.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ environment: "production"
77
# Flags below are optional
88
#
99

10+
name: "publiccode.yml"
11+
description: "Distributed index of Public Software"
12+
lang: "en"
13+
languages: ["en"]
14+
1015
# Prevent site from being indexed by search engines
1116
# Leave empty to publish the website
1217
noindex: true
@@ -15,18 +20,15 @@ noindex: true
1520
# You can find your shortname on the Settings page of your Disqus account
1621
disqus:
1722

18-
# Enter your Google Analytics web tracking code (e.g. UA-000000000-0) to activate tracking
19-
google_analytics:
20-
2123
# Your website URL (e.g. http://example.github.io or http://www.example.com)
2224
# Used for Sitemap.xml and your RSS feed
23-
url: "https://italia.github.io"
25+
url: "https://publiccodeyml.github.io"
2426

2527
# If you're hosting your site at a Project repository on GitHub pages
2628
# (http://yourusername.github.io/repository-name)
2729
# and NOT your User repository (http://yourusername.github.io)
2830
# then add in the baseurl here, like this: "/repository-name"
29-
baseurl: "/"
31+
baseurl: ""
3032

3133
#
3234
# !! You don't need to change any of the configuration flags below !!

_data/t.yml

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@ icon: "/assets/images/b.svg"
55
## Social Card [1200x630]
66
social-card: /assets/images/favicons/social-card.png
77

8-
## Site name
9-
name:
10-
en: "A Jekyll theme"
11-
12-
## Site description
13-
description:
14-
en: "A website with a Jekyll theme"
15-
168
## Site author
179
author:
1810
en: "The PublicCode.yml community"
@@ -22,29 +14,16 @@ social-links:
2214
en:
2315
twitter:
2416
name: "twitter"
25-
url: "https://twitter.com/ITdigitalteam"
26-
medium:
27-
name: "medium"
28-
url: "https://medium.com/team-per-la-trasformazione-digitale/"
29-
it:
30-
twitter:
31-
name: "twitter"
32-
url: "https://twitter.com/teamdigitaleIT"
17+
url: "https://twitter.com/"
3318
medium:
3419
name: "medium"
35-
url: "https://medium.com/team-per-la-trasformazione-digitale/"
20+
url: "https://medium.com/"
3621

3722
## Labels
3823
italian-version:
3924
en: "Italian version"
4025
english-version:
4126
en: "English version"
42-
cookie-policy-info:
43-
en: "This site uses technical, analytics and third-party cookies <br>By continuing to browse, you accept the use of cookies."
44-
it: "Questo sito utilizza cookie tecnici, analytics e di terze parti.<br>Proseguendo nella navigazione accetti l’utilizzo dei cookie."
45-
cookie-policy-accept-btn:
46-
en: "Ok"
47-
it: "Accetto"
4827
footer-links:
4928
en:
5029
privacy-policy:
@@ -53,12 +32,5 @@ footer-links:
5332
cookie-policy:
5433
name: "Cookie Policy"
5534
url: "/en/cookie-policy"
56-
it:
57-
privacy-policy:
58-
name: "Privacy policy"
59-
url: "/it/privacy-policy"
60-
cookie-policy:
61-
name: "Cookie Policy"
62-
url: "/it/cookie-policy"
6335

6436

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
11
{% if site.google_analytics %}
2-
<!-- Global site tag (gtag.js) - Google Analytics -->
3-
<script>
4-
// Disabilita tracciamento se il cookie cookies_consent non esiste
5-
if (document.cookie.indexOf('cookies_consent=true') === -1) {
6-
window['ga-disable-{{ site.google_analytics }}'] = true;
7-
}
8-
</script>
9-
<script>
10-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
11-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
12-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
13-
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
14-
ga('create', '{{ site.google_analytics }}', 'auto');
15-
ga('set', 'anonymizeIp', true);
16-
ga('send', 'pageview');
17-
</script>
2+
183
{% endif %}

_layouts/default.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
{%- include header/header.html -%}
1313
{{ content }}
1414
{%- include footer/footer.html -%}
15-
{%- include cookiebar.html -%}
1615
{%- include scripts.html -%}
1716
</body>
1817
</html>

en/about-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: page
33
title: About us
44
lang: en
55
ref: about-us
6-
permalink: /en/about-us
6+
permalink: /about-us
77
order: 2
88
---
99

en/cookie-policy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Cookie Policy
44
description:
55
lang: en
66
ref: cookie-policy
7-
permalink: /en/cookie-policy
7+
permalink: /cookie-policy
88
---
99

10-
This is an example for a "cookie policy" page.
10+
We are not using cookies!

en/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: default
3-
title: Example Homepage
4-
description: This is an example for a "hero" homepage
3+
title: Start page
4+
description: A standard for documenting code for public administrations.
55
lang: en
66
ref: homepage
77
permalink: /

0 commit comments

Comments
 (0)