jekyll-yamt 1.0.3 → 1.0.5

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: 05226750aad2ab01dc4b66a6705f00f791d5af11a937a7c271e48890b922ffad
4
- data.tar.gz: 7e4dc523da04f7b18887b14bdc42b720e37ef1773e58c39a6e91f6c86475bbc7
3
+ metadata.gz: 5c45f59ca7aff77cc4e46e40d633c984527dee3a2e9ce10718ac29284ecf614b
4
+ data.tar.gz: 8811005a69eca20d35451e89bb46251cf0a4642e2e8a15a264fdc994970eb1ca
5
5
  SHA512:
6
- metadata.gz: 4befb3a106f88968c3eaafb3ed4f6c04d66130de81f8857555c5e280638c357a70f7983974955145fa7ec6bc13203eb626191f3e0e74b3498ffa29cfcd2186cb
7
- data.tar.gz: 2b08bea9ccaf12066413617aa6cd99936abaf2e8be759cac2f9347ac949ef5b2e859e3ff0909854c8c5f76b343ac201fca59ecb3034aa2e15376b129c558ffa9
6
+ metadata.gz: de0d64ad922fd3066933bc0beb34bcf6c22c6cf4487ad5bd945b7658bbde098442bb2f9da67db4bc132cde6c42c1251f48d78ee0d898d4741f4bdacd096be147
7
+ data.tar.gz: 8f9bcea9aaa1f85dd6cb44eb78148c8854ab9bf628bcce181d51b4ccd2499f56236fecbceffc483d6be64e6eec01aedaf5d7c094b694150a5a5ae25fb353c2f4
data/README.md CHANGED
@@ -99,6 +99,8 @@ Github Pages uses the [--safe flag](https://jekyllrb.com/docs/configuration/opti
99
99
  $ gem install jekyll-yamt
100
100
  ```
101
101
 
102
+ #### ERROR: There was an error while loading `jekyll-yamt.gemspec`: No such file or directory - git ls-files -z. Bundler cannot continue.
103
+ If you encounter this error when running `bundle install`, please make sure git is installed.
102
104
 
103
105
  ## Customize
104
106
 
@@ -113,7 +115,7 @@ In social you can add your socials that will show up in the nav. To add a social
113
115
  Brand defines Font Awesome's font type (fas is solid, fab is brand).
114
116
  Out of the box this theme has support colors for a bunch of social. If your social isn't supported, just add the color in the header.css
115
117
 
116
- In `settings.yml` you can activate or deactivate various functions of the theme, like analytics, disqus comments, related posts and so on.
118
+ In `_data/settings.yml` you can activate or deactivate various functions of the theme, like analytics, disqus comments, related posts and so on.
117
119
 
118
120
  ### Header
119
121
  In `_data/settings.yml` you can choose to hide or show the subtitle, the page navigation or the social icons.
@@ -141,6 +143,7 @@ When your theme is released, only the files in `_layouts`, `_includes`, `_sass`
141
143
  To add a custom directory to your theme-gem, please edit the regexp in `yamt.gemspec` accordingly.
142
144
 
143
145
  ## Credits
146
+ Theme designed and created by [Alessio Franceschi](https://github.com/PandaSekh/).
144
147
  Inspired by [Lagrange by LeNPaul](https://lenpaul.github.io/Lagrange/).
145
148
  Also great help from [this blog](https://blog.webjeda.com/), I've used this even before I created this theme.
146
149
  Images from [Unsplash](https://unsplash.com/).
@@ -1,19 +1,19 @@
1
- <section class="disqus">
2
- <p id="load-comments" onclick="loadDisqus()">Load Comments</p>
3
- <div id="disqus_thread"></div>
4
-
5
- <script id="loadDisqus" type="text/javascript">
6
- var disqus_loaded = false;
7
- var disqus_shortname = "{{ site.data.settings.disqus.disqus_shortname }}";
8
- var disqus_identifier = "{{ page.url }}";
9
- function loadDisqus() {
10
- var e = document.createElement('script');
11
- e.type = 'text/javascript';
12
- e.async = true;
13
- e.src = '//' + disqus_shortname + '.disqus.com/embed.js';
14
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(e);
15
- document.getElementById("load-comments").style.display = "none";
16
- };
17
- </script>
18
- <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments.</a></noscript>
1
+ <section class="disqus">
2
+ <p id="load-comments" onclick="loadDisqus()">Load Comments</p>
3
+ <div id="disqus_thread"></div>
4
+
5
+ <script id="loadDisqus" type="text/javascript">
6
+ var disqus_loaded = false;
7
+ var disqus_shortname = "{{ site.data.settings.disqus.disqus_shortname }}";
8
+ var disqus_identifier = "{{ page.url }}";
9
+ function loadDisqus() {
10
+ var e = document.createElement('script');
11
+ e.type = 'text/javascript';
12
+ e.async = true;
13
+ e.src = '//' + disqus_shortname + '.disqus.com/embed.js';
14
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(e);
15
+ document.getElementById("load-comments").style.display = "none";
16
+ };
17
+ </script>
18
+ <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments.</a></noscript>
19
19
  </section>
@@ -1,8 +1,8 @@
1
- {% for item in site.data.social.social %}
2
- {% if item.type == "brand"%}
3
- <a href="{{ item.link }}" target="_blank" id="{{item.icon}}"><i class="fab fa-{{item.icon}}" aria-hidden="true"></i></a>
4
- {% endif %}
5
- {% if item.type == "solid"%}
6
- <a href="{{ item.link }}" target="_blank" id="{{item.icon}}"><i class="fas fa-{{item.icon}}" aria-hidden="true"></i></a>
7
- {% endif %}
1
+ {% for item in site.data.social.social %}
2
+ {% if item.type == "brand"%}
3
+ <a href="{{ item.link }}" target="_blank" id="{{item.icon}}"><i class="fab fa-{{item.icon}}" aria-hidden="true"></i></a>
4
+ {% endif %}
5
+ {% if item.type == "solid"%}
6
+ <a href="{{ item.link }}" target="_blank" id="{{item.icon}}"><i class="fas fa-{{item.icon}}" aria-hidden="true"></i></a>
7
+ {% endif %}
8
8
  {% endfor %}
@@ -6,10 +6,10 @@ title: Archive
6
6
  {% assign postsByDate =
7
7
  site.posts | group_by_exp:"post", "post.date | date: '%B %Y'" %}
8
8
  {% for year in postsByDate %}
9
- <h2 class = "archive-date" id = "date-{{post.date | date: "%B %Y"}}">{{ year.name }}</h1>
9
+ <h2 class = "archive-date" id = "date-{{post.date | date: "%B %Y"}}">{{ year.name }}</h2>
10
10
  <ul>
11
11
  {% for post in year.items %}
12
12
  <li><a class = "archive-link" href="{{ post.url | relative_url}}">{{ post.title }}</a></li>
13
13
  {% endfor %}
14
14
  </ul>
15
- {% endfor %}
15
+ {% endfor %}
@@ -1,18 +1,18 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- {% include head.html %}
5
- </head>
6
- <body>
7
-
8
- <div class="container">
9
- {% include header.html %}
10
-
11
- <div class="post-container">
12
- {{ content }}
13
- </div>
14
- </div>
15
-
16
- {%- include footer.html -%}
17
- </body>
18
- </html>
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ {% include head.html %}
5
+ </head>
6
+ <body>
7
+
8
+ <div class="container">
9
+ {% include header.html %}
10
+
11
+ <div class="post-container">
12
+ {{ content }}
13
+ </div>
14
+ </div>
15
+
16
+ {%- include footer.html -%}
17
+ </body>
18
+ </html>
@@ -23,7 +23,7 @@ title: Home
23
23
  <a href="{{ post.url | relative_url }}"><img src="{{ post.image | relative_url }}"/></a>
24
24
  {% endif %}
25
25
  {% if post.gif %}
26
- {% include gif.html file = post.gif %}
26
+ <a href="{{ post.url | relative_url }}">{% include gif.html file = post.gif %}</a>
27
27
  {% endif %}
28
28
  </div>
29
29
  {% endif %}
@@ -1,5 +1,5 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- {{ content }}
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -1,45 +1,45 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- {% include head.html %}
5
- </head>
6
-
7
- <body>
8
-
9
- <div class="container">
10
- {% include header.html %}
11
-
12
- <div class="post-container">
13
- <article id = "post">
14
- <h2 id = "post-title">{{ page.title }}</h2>
15
-
16
- {% if site.data.settings.date-under-post.active %}
17
- <div class = "post-info">
18
- <span>
19
- <i class="far fa-calendar" aria-hidden="true"></i> <span>{{ page.date | date_to_string }}</span> - <i class="far fa-clock"></i> {% include reading_time.html %}
20
- </span>
21
- </div>
22
- {% endif %}
23
- {{ content }}
24
- </article>
25
- </div>
26
- {% if site.data.settings.categories.active %}
27
- {% include categories.html %}
28
- {% endif %}
29
-
30
- {% if site.data.settings.related-posts.active %}
31
- {% include related-posts.html %}
32
- {% endif %}
33
-
34
- {% if site.data.settings.disqus.disqus_shortname %}
35
- {% include disqus.html %}
36
- {% endif %}
37
- </div>
38
-
39
- {%- include footer.html -%}
40
-
41
- {% if site.data.settings.mathjax.active %}
42
- <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
43
- {% endif %}
44
- </body>
45
- </html>
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ {% include head.html %}
5
+ </head>
6
+
7
+ <body>
8
+
9
+ <div class="container">
10
+ {% include header.html %}
11
+
12
+ <div class="post-container">
13
+ <article id = "post">
14
+ <h2 id = "post-title">{{ page.title }}</h2>
15
+
16
+ {% if site.data.settings.date-under-post.active %}
17
+ <div class = "post-info">
18
+ <span>
19
+ <i class="far fa-calendar" aria-hidden="true"></i> <span>{{ page.date | date_to_string }}</span> - <i class="far fa-clock"></i> {% include reading_time.html %}
20
+ </span>
21
+ </div>
22
+ {% endif %}
23
+ {{ content }}
24
+ </article>
25
+ </div>
26
+ {% if site.data.settings.categories.active %}
27
+ {% include categories.html %}
28
+ {% endif %}
29
+
30
+ {% if site.data.settings.related-posts.active %}
31
+ {% include related-posts.html %}
32
+ {% endif %}
33
+
34
+ {% if site.data.settings.disqus.disqus_shortname %}
35
+ {% include disqus.html %}
36
+ {% endif %}
37
+ </div>
38
+
39
+ {%- include footer.html -%}
40
+
41
+ {% if site.data.settings.mathjax.active %}
42
+ <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
43
+ {% endif %}
44
+ </body>
45
+ </html>
@@ -1,10 +1,10 @@
1
- .archive-link{
2
- text-decoration: none;
3
- color: black;
4
- font-style: italic;
5
- font-size: 1.5rem;
6
- }
7
-
8
- .archive-link:hover{
9
- text-decoration: underline;
1
+ .archive-link{
2
+ text-decoration: none;
3
+ color: black;
4
+ font-style: italic;
5
+ font-size: 1.5rem;
6
+ }
7
+
8
+ .archive-link:hover{
9
+ text-decoration: underline;
10
10
  }
@@ -1,127 +1,127 @@
1
- //Colors
2
- $base: #a2a2a2;
3
- $light-grey: #ebebeb;
4
-
5
- * {
6
- -webkit-box-sizing: border-box;
7
- -moz-box-sizing: border-box;
8
- box-sizing: border-box;
9
- }
10
- html{
11
- scroll-behavior: smooth;
12
- }
13
- .container {
14
- margin-left: auto;
15
- margin-right: auto;
16
- width: 700px;
17
- }
18
-
19
- .task-list{
20
- list-style: none;
21
- }
22
-
23
- //Disqus
24
- #load-comments{
25
- border: 1px solid #e0e0e0;
26
- border-radius: 3px;
27
- padding: 15px 35px;
28
- margin-left: auto;
29
- margin-right: auto;
30
- overflow: hidden;
31
- text-align: center;
32
- max-width: fit-content;
33
- //Make text not selectable
34
- -webkit-user-select: none;
35
- -moz-user-select: none;
36
- -ms-user-select: none;
37
- user-select: none;
38
- color: $base;
39
- }
40
-
41
- #load-comments:hover{
42
- cursor: pointer;
43
- color: black;
44
- background-color: $light-grey;
45
- }
46
- //End Disqus
47
-
48
- //Alerts
49
- .alert{
50
- padding: 20px;
51
- border-radius: 0 4px 4px 0;
52
- color: #fff;
53
- display: block;
54
- font-size: larger;
55
- font-family: 'Montserrat', sans-serif;
56
- }
57
-
58
- .y{
59
- background-color: #f3b244;
60
- border-left: 7px solid #dc900e;
61
- }
62
-
63
- .g{
64
- background-color: #60c17d;
65
- border-left: 7px solid #55ab6f;
66
- }
67
-
68
- .r{
69
- background-color: #e45454;
70
- border-left: 7px solid #cb2020;
71
- }
72
- //End Alerts
73
-
74
- //Blockquote
75
- blockquote {
76
- border-left: .25em solid #dfe2e5;
77
- color: #6a737d;
78
- padding: 0 1em;
79
- cite{
80
- display: inline-block;
81
- margin-top: 50px;
82
- cite::before{
83
- content: "- ";
84
- margin-left: 10px;
85
- }
86
- }
87
- }
88
- //End Blockquote
89
-
90
- //MathJAX
91
- .MathJax_Display{
92
- .MathJax {
93
- font-size: 1.2rem;
94
- }
95
- }
96
- //End MathJAX
97
-
98
- //ToC
99
- #markdown-toc::before {
100
- content: "Contents";
101
- font-size: 1.1rem;
102
- font-family: 'Montserrat', sans-serif;
103
- font-weight: bold;
104
- }
105
-
106
- #markdown-toc {
107
- border: 1px solid #aaa;
108
- border-radius: 10px;
109
- padding: 1.5em;
110
- list-style: disc;
111
- display: inline-block;
112
- background-color: $light-grey;
113
- line-height: 25px;
114
- li{
115
- a{
116
- font-family: 'PT Serif', serif;
117
- text-decoration: none;
118
- }
119
- a:hover{
120
- font-style: italic;
121
- }
122
- }
123
- ul{
124
- list-style: disc;
125
- }
126
- }
1
+ //Colors
2
+ $base: #a2a2a2;
3
+ $light-grey: #ebebeb;
4
+
5
+ * {
6
+ -webkit-box-sizing: border-box;
7
+ -moz-box-sizing: border-box;
8
+ box-sizing: border-box;
9
+ }
10
+ html{
11
+ scroll-behavior: smooth;
12
+ }
13
+ .container {
14
+ margin-left: auto;
15
+ margin-right: auto;
16
+ width: 700px;
17
+ }
18
+
19
+ .task-list{
20
+ list-style: none;
21
+ }
22
+
23
+ //Disqus
24
+ #load-comments{
25
+ border: 1px solid #e0e0e0;
26
+ border-radius: 3px;
27
+ padding: 15px 35px;
28
+ margin-left: auto;
29
+ margin-right: auto;
30
+ overflow: hidden;
31
+ text-align: center;
32
+ max-width: fit-content;
33
+ //Make text not selectable
34
+ -webkit-user-select: none;
35
+ -moz-user-select: none;
36
+ -ms-user-select: none;
37
+ user-select: none;
38
+ color: $base;
39
+ }
40
+
41
+ #load-comments:hover{
42
+ cursor: pointer;
43
+ color: black;
44
+ background-color: $light-grey;
45
+ }
46
+ //End Disqus
47
+
48
+ //Alerts
49
+ .alert{
50
+ padding: 20px;
51
+ border-radius: 0 4px 4px 0;
52
+ color: #fff;
53
+ display: block;
54
+ font-size: larger;
55
+ font-family: 'Montserrat', sans-serif;
56
+ }
57
+
58
+ .y{
59
+ background-color: #f3b244;
60
+ border-left: 7px solid #dc900e;
61
+ }
62
+
63
+ .g{
64
+ background-color: #60c17d;
65
+ border-left: 7px solid #55ab6f;
66
+ }
67
+
68
+ .r{
69
+ background-color: #e45454;
70
+ border-left: 7px solid #cb2020;
71
+ }
72
+ //End Alerts
73
+
74
+ //Blockquote
75
+ blockquote {
76
+ border-left: .25em solid #dfe2e5;
77
+ color: #6a737d;
78
+ padding: 0 1em;
79
+ cite{
80
+ display: inline-block;
81
+ margin-top: 50px;
82
+ cite::before{
83
+ content: "- ";
84
+ margin-left: 10px;
85
+ }
86
+ }
87
+ }
88
+ //End Blockquote
89
+
90
+ //MathJAX
91
+ .MathJax_Display{
92
+ .MathJax {
93
+ font-size: 1.2rem;
94
+ }
95
+ }
96
+ //End MathJAX
97
+
98
+ //ToC
99
+ #markdown-toc::before {
100
+ content: "Contents";
101
+ font-size: 1.1rem;
102
+ font-family: 'Montserrat', sans-serif;
103
+ font-weight: bold;
104
+ }
105
+
106
+ #markdown-toc {
107
+ border: 1px solid #aaa;
108
+ border-radius: 10px;
109
+ padding: 1.5em;
110
+ list-style: disc;
111
+ display: inline-block;
112
+ background-color: $light-grey;
113
+ line-height: 25px;
114
+ li{
115
+ a{
116
+ font-family: 'PT Serif', serif;
117
+ text-decoration: none;
118
+ }
119
+ a:hover{
120
+ font-style: italic;
121
+ }
122
+ }
123
+ ul{
124
+ list-style: disc;
125
+ }
126
+ }
127
127
  //End ToC