jekyll-theme-dscliu 0.1.0.pre.alpha.1 → 0.1.0.pre.alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f58ea85e6b61bc21d19cd78ecaa254acbae5ae9292e352aaf3b0ae2746a6694
4
- data.tar.gz: 3dff8d60dd8e3b0aa01a7833dc0abe05bbdd3280f103c246c67737558172063c
3
+ metadata.gz: d4827f35a88beb2fc914b88664537bb593cf62c38431c60f80009d3385443a0a
4
+ data.tar.gz: caa7fdd154f705071ef2f877c9b7870ae785a3da6a71521e6bd965dc178cc295
5
5
  SHA512:
6
- metadata.gz: ae43a7e28010ca270705a4505169bc17905c37f5a188f82307ad760ad835a43ab03839328241aa6190be4b5d2399462798557f029bdb9311122b331efc01579d
7
- data.tar.gz: 8ed23963603c2afddae471a1478b1752bf20ee61043a1f0035947f2973c4d58f027e30290441352b6b9aa3e37e430a00c26bddd2d5007e86cf05b94a2ecd799a
6
+ metadata.gz: 357d9d454029772625f7da5a24fec3f1f027947e2923603dd72174b95175c2b756efb2a6cbaccedaa3069b40d27809d89411779842237c53418721f5229629e7
7
+ data.tar.gz: 4d448ffd114a090e529a630dfeadebc4191e456b4b590621463847ac8ae6f432c56606acb18e8e4b7ed19c35189f4de90d08abf8cf9df7367456bd035f5ce439
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # jekyll-theme-dscliu
2
2
 
3
+ [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](code_of_conduct.md)
4
+ [![Gem Version](https://badge.fury.io/rb/jekyll-theme-dscliu.svg)](https://badge.fury.io/rb/jekyll-theme-dscliu)
5
+
3
6
  Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
7
 
5
8
  To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
@@ -0,0 +1,14 @@
1
+ {%- if site.analytics.gtm -%}
2
+ <!-- Google Tag Manager (noscript) -->
3
+ <noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ site.analytics.gtm }}"
4
+ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
5
+ <!-- End Google Tag Manager (noscript) -->
6
+ {%- else -%}
7
+ {%- if site.analytics.ga -%}
8
+ {%- comment -%}
9
+ No Google Analytics gtag.js exists for body so this section will return a blank.
10
+ {%- endcomment -%}
11
+ {%- endif -%}
12
+ {%- else -%}
13
+ <!-- No Analytics Added -->
14
+ {%- endif -%}
@@ -0,0 +1,23 @@
1
+ {%- if site.analytics.gtm -%}
2
+ <!-- Google Tag Manager -->
3
+ <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
4
+ new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
5
+ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
6
+ 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
7
+ })(window,document,'script','dataLayer','{{ site.analytics.gtm }}');</script>
8
+ <!-- End Google Tag Manager -->
9
+ {%- else -%}
10
+ {%- if site.analytics.ga -%}
11
+ <!-- Global site tag (gtag.js) - Google Analytics -->
12
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.gtag }}"></script>
13
+ <script>
14
+ window.dataLayer = window.dataLayer || [];
15
+ function gtag(){dataLayer.push(arguments);}
16
+ gtag('js', new Date());
17
+
18
+ gtag('config', '{{ site.analytics.gtag }}');
19
+ </script>
20
+ {%- endif -%}
21
+ {%- else -%}
22
+ <!-- No Analytics Added -->
23
+ {%- endif -%}
@@ -1 +1,11 @@
1
- {{ content }}
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <!--This page was last updated at {{ "now" | date: "%Y-%m-%d %H:%M:%S" }}.-->
5
+ {% include analytics-head.html %}
6
+ </head>
7
+ <body>
8
+ {% include analytics-body.html %}
9
+ {{ content }}
10
+ </body>
11
+ </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-dscliu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.alpha.1
4
+ version: 0.1.0.pre.alpha.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Khaldoon Mutahar
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-09-15 00:00:00.000000000 Z
12
+ date: 2020-10-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -34,12 +34,11 @@ extra_rdoc_files: []
34
34
  files:
35
35
  - LICENSE
36
36
  - README.md
37
- - _includes/.gitkeep
37
+ - _includes/analytics-body.html
38
+ - _includes/analytics-head.html
38
39
  - _layouts/default.html
39
40
  - _layouts/page.html
40
41
  - _layouts/post.html
41
- - _sass/.gitkeep
42
- - assets/.gitkeep
43
42
  homepage: https://www.mutahar.me/jekyll-theme-dscliu/
44
43
  licenses:
45
44
  - AGPL-3.0-only
File without changes
File without changes
File without changes