teatro-vecchio 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe4bf79e91cb9618eff180c34ac96b8ca7d77d64c3c5e84a3f00a530d82fbeb2
4
- data.tar.gz: ff8e524e7ca9d7c26d6e77e4ce5148eb1210b465458e9c6942ac4a1bec4bb3a5
3
+ metadata.gz: f3b5f28a60e8274b0e5da9833b63b952afbe67d6ba4c888d6fce5835b27466a0
4
+ data.tar.gz: b528d0000db423c851f9015406fb122b568cef5518a62aafb4628687fe031fd6
5
5
  SHA512:
6
- metadata.gz: e7b9d0a7bbed10f107e5c48d4d46ac6b5dabb9205eab095e185ceefb0d5c6c6a6ed2e0efe7a6256f08fd952bb9ac2f4eba728dd7f7445a7a7e6d2f593e707edd
7
- data.tar.gz: f7b7244eb2fa19ca4aa844056b823446648f6b8c9396bfbc9b1e1d80159b428868896a45fcfc2bb201885d8f4e17ab557f2aa3f5572ffa2420335523a623f079
6
+ metadata.gz: 9e561b2a06719962c136f67a75d8c8a00c0e48f0fc6ef74b2e9fae11d3641ced51cacc3d4dde76c2c0b17f9e4bd076cca5ee8525274aeb3c9f3d73f7b0be963f
7
+ data.tar.gz: 41a4f73a994fcc038a4ada7cd71cc9fdc8ae14d2b31ad642252157c404d49ae018410e7716b5e33c19e1d8e72596ba309a153604abb74e7c8d955e58be2d10f8
@@ -27,14 +27,13 @@
27
27
  </footer>
28
28
 
29
29
  {%- if site.google_analytics_account -%}
30
+ <!-- Global site tag (gtag.js) - Google Analytics -->
31
+ <script async src="https://www.googletagmanager.com/gtag/js?id=UA-117679791-1"></script>
30
32
  <script>
31
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
32
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
33
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
34
- })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
35
-
36
- ga('create', '{{site.google_analytics_account}}', 'auto');
37
- ga('send', 'pageview');
33
+ window.dataLayer = window.dataLayer || [];
34
+ function gtag(){dataLayer.push(arguments);}
35
+ gtag('js', new Date());
38
36
 
37
+ gtag('config', {{site.google_analytics_account}});
39
38
  </script>
40
39
  {%- endif -%}
data/_includes/head.html CHANGED
@@ -96,6 +96,4 @@
96
96
 
97
97
  {% seo title=false %}
98
98
 
99
- <link rel="alternate" hreflang="it" href="{{site.url}}/articles{{page.url}}" />
100
-
101
99
  </head>
@@ -1,3 +1,11 @@
1
1
  <header class="site-header">
2
2
  <a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
3
+ <div style="float: right">
4
+ {% if site.lang == "en" %}
5
+ <a class="link-it" href="{{ site.baseurl_root }}/it">Italiano</a>
6
+ {% elsif site.lang == "it"%}
7
+ <a class="link-en" href="{{ site.baseurl_root }}/">English</a>
8
+ {% endif %}
9
+ </div>
10
+
3
11
  </header>
data/_layouts/home.html CHANGED
@@ -4,18 +4,17 @@ layout: default
4
4
 
5
5
  <div class="home">
6
6
 
7
- {{ content }}
7
+ {{ content }}
8
8
 
9
- {% for post in site.posts %}
10
- <p>
11
- <span class="post-meta" style="float: right; margin-left: 10px">{{ post.date | date: "%d/%m/%Y" }}</span>
9
+ {% for post in site.posts %}
10
+ <p>
11
+ <span class="post-meta" style="float: right; margin-left: 10px">{{ post.date | date: "%d/%m/%Y" }}</span>
12
12
 
13
- <h2>
14
- <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
15
- </h2>
16
- </p>
17
- {% endfor %}
13
+ <h2>
14
+ <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
15
+ </h2>
16
+ </p>
17
+ {% endfor %}
18
18
 
19
-
20
- <a href="/categories">Explore by categories</a>
19
+ <a href="/categories">{% t global.explore %}</a>
21
20
  </div>
data/_layouts/post.html CHANGED
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
+
4
5
  <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
5
6
  <header class="post-header">
6
7
  <h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teatro-vecchio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Descovi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-04-16 00:00:00.000000000 Z
12
+ date: 2018-04-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -39,6 +39,20 @@ dependencies:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: '2.4'
42
+ - !ruby/object:Gem::Dependency
43
+ name: jekyll-multiple-languages-plugin
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
42
56
  - !ruby/object:Gem::Dependency
43
57
  name: bundler
44
58
  requirement: !ruby/object:Gem::Requirement