sencilla 0.4.0 → 0.6.0

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: 77316f01b9db0492aa8672d4b3946d2deff8d31775eb0eef2c258da701772c13
4
- data.tar.gz: 328fa5716f70f1b90991cb90c9932677e457641d78e3218bfa5fb4dfca9b85b1
3
+ metadata.gz: '0490c1c56344b0f26bb4c6a255184c1e9f83332f45818f8411924162cba8c31c'
4
+ data.tar.gz: 2de66e5aab544f73e010089fcfec68321474a0c06c386d4c16a18456602c2c12
5
5
  SHA512:
6
- metadata.gz: 2ee643d3c7c8d2e761e0d5bc1a6977140a0b4f6f3020d7e4ad2fa593ea76af5bfdc08122328a64fe788b117a00483d64bf3944e90939ff7675bf6e6640d75104
7
- data.tar.gz: c7c050dbb35c9f67ab169e4909753797ce393aa6e422437c1574759b70eb323b7fa10c439b825bac9f11a1981db09e2e5877bfd4dcf3bf674d807a32486ff1ce
6
+ metadata.gz: d38a6a5968a2e074f3cd6ed1b05e0e8486c719c55501e45583c9cf0d20c8cb0940a0ac59e7e4a67b00da08e0a771e0e42dd52b5e55262d4249cb687f6aa348f3
7
+ data.tar.gz: 138ed73bccf821fb51377ee40813f316d52576194420f7c023e66fcf34c92e8ec544e66d02cbc8e3f3f45d85f4e445793ed8b0684359ba3714202849b34096b4
data/README.md CHANGED
@@ -38,12 +38,12 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/dyskun
38
38
 
39
39
  ## License
40
40
 
41
- The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
41
+ This theme is available under the terms of [MIT License](https://opensource.org/licenses/MIT).
42
42
 
43
43
  ## Credits
44
44
 
45
- Sencilla is a fork of [Minima](https://github.com/jekyll/minima) v2.5.1. I have incorporated the `tags.html` page from [beautiful-jekyll](https://github.com/daattali/beautiful-jekyll) and the color tones from [open-color](https://github.com/yeun/open-color) and [material.io](https://material.io).
45
+ - Sencilla is a fork of [Minima](https://github.com/jekyll/minima) v2.5.1.
46
+ - I took `tags.html` from [beautiful-jekyll](https://github.com/daattali/beautiful-jekyll) and the color tones from [open-color](https://github.com/yeun/open-color) and [material.io](https://material.io).
47
+ - Source of `/assets/img/profile-picture.jpg`: [Pexels.com](https://www.pexels.com/photo/silhouette-photo-of-person-during-golden-hour-2475138/)
48
+ - Icons: [Font Awesome](https://fontawesome.com)
46
49
 
47
- Thanks to [w3schools.com](https://www.w3schools.com/) for putting up amazing resources online for free. Most of what I have learnt about HTML and CSS has come from w3schools.
48
-
49
- Source of `/assets/img/profile-picture.jpg`: [Pexels.com](https://www.pexels.com/photo/silhouette-photo-of-person-during-golden-hour-2475138/)
@@ -0,0 +1 @@
1
+
@@ -1,19 +1,19 @@
1
1
  <footer class="site-footer">
2
- <div class="nav-wrapper">
2
+ <div class="wrapper">
3
3
  <div class="footer-col footer-col-1">
4
- Copyright © 2020 {{ site.author.name }}
4
+ {{ site.author.name }}
5
5
  </div>
6
6
 
7
7
  <div class="footer-col footer-col-2">
8
8
  {% if site.subscribe %}
9
- Subscribe to the <a href="/feed.xml">RSS</a> feed
9
+ <a href="/feed.xml"> <i class="far fa-rss"></i> RSS</a>
10
10
  {% else %}
11
11
 
12
12
  {% endif %}
13
13
  </div>
14
14
 
15
15
  <div class="footer-col footer-col-3">
16
- Powered by <a href="https://github.com/dyskun/sencilla">Sencilla</a>
16
+ Jekyll theme <a href="https://rubygems.org/gems/sencilla">Sencilla</a>
17
17
  </div>
18
18
  </div>
19
19
  </footer>
data/_includes/head.html CHANGED
@@ -2,16 +2,39 @@
2
2
  <meta charset="utf-8">
3
3
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
+
5
6
  {%- seo -%}
6
- <link rel="stylesheet" href="/assets/css/main.css">
7
- {%- feed_meta -%}
7
+
8
8
  {%- if jekyll.environment == 'production' and site.google_analytics -%}
9
- {%- include google-analytics.html -%}
9
+ <!-- Google Analytics -->
10
+ <script>
11
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
12
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
13
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
14
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
15
+
16
+ ga('create', '{{ site.google_analytics }}', 'auto');
17
+ ga('send', 'pageview');
18
+ </script>
19
+ <!-- End Google Analytics -->
10
20
  {%- endif -%}
21
+
22
+ <link rel="stylesheet" href="/assets/css/main.css">
23
+
24
+ {%- feed_meta -%}
25
+
11
26
  <link href="https://use.fontawesome.com/releases/v5.14.0/css/all.css" rel="stylesheet">
27
+
28
+ {%- if page.latex -%}
29
+ <script type="text/javascript" async src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
30
+ </script>
31
+ <script type="text/x-mathjax-config">
32
+ MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
33
+ </script>
34
+ {%- endif -%}
12
35
 
13
- {%- if site.favicon == "True" -%}
14
- {%- include html_code.html -%}
36
+ {%- if site.custom_head -%}
37
+ {%- include custom-head.html -%}
15
38
  {%- endif -%}
16
39
 
17
40
  </head>
@@ -1,7 +1,7 @@
1
1
  <div class="sticky">
2
2
  <header class="site-header" role="banner">
3
3
 
4
- <div class="nav-wrapper">
4
+ <div class="wrapper">
5
5
 
6
6
  {%- if site.logo -%}
7
7
  <a href="{{ "/" | relative_url }}"><img class="site-logo" src="{{ site.logo }}" alt="{{ site.title }} Logo"></a>
@@ -34,6 +34,34 @@
34
34
  {%- endif -%}
35
35
  </div>
36
36
  {%- endfor -%}
37
+ <div class="nav-items">
38
+ <a>Links</a>
39
+ <div class="dropdown-content">
40
+ {%- if site.author.email -%}
41
+ <a href="mailto:{{ site.author.email }}"><i class="far fa-envelope"></i></a>
42
+ {%- endif -%}
43
+
44
+ {%- if site.github -%}
45
+ <a href="https://github.com/{{ site.github }}"><i class="fab fa-github"></i></a>
46
+ {%- endif -%}
47
+
48
+ {%- if site.twitter -%}
49
+ <a href="https://twitter.com/{{ site.twitter }}"><i class="fab fa-twitter"></i></a>
50
+ {%- endif -%}
51
+
52
+ {%- if site.facebook -%}
53
+ <a href="https://facebook.com/{{ site.facebook }}"><i class="fab fa-facebook"></i></a>
54
+ {%- endif -%}
55
+
56
+ {%- if site.instagram -%}
57
+ <a href="https://instagram.com/{{ site.instagram }}"><i class="fab fa-instagram"></i></a>
58
+ {%- endif -%}
59
+
60
+ {%- if site.linkedin -%}
61
+ <a href="https://linkedin.com/in/{{ site.linkedin }}"><i class="fab fa-linkedin"></i></a>
62
+ {%- endif -%}
63
+ </div>
64
+ </div>
37
65
  </div>
38
66
  </nav>
39
67
  </div>
@@ -4,15 +4,57 @@
4
4
  {% include head.html %}
5
5
 
6
6
  <body>
7
+
7
8
  {% include header.html %}
8
9
 
9
10
  <main class="page-content" aria-label=Content">
10
11
  <div class="wrapper">
11
- {{ content }}
12
+
13
+ <div class="col-9 col-m-12 col-s-12">
14
+ {{ content }}
15
+ </div>
16
+
17
+ <div class="col-3 col-m-12 col-s-12">
18
+ {%- if page.layout == "post" -%}
19
+
20
+ <div class="sidebar-meta">
21
+
22
+ <p>
23
+ <strong>Category</strong>
24
+ <br>
25
+ <br>
26
+ {{ page.category | capitalize}}
27
+ {%- if page.tags.size > 0 -%}
28
+ <hr>
29
+ <strong>Tags</strong>
30
+ <br>
31
+ <br>
32
+ {% if site.link-tags %}
33
+ {% for tag in page.tags %}
34
+ <a href="{{ '/tags' | relative_url }}#{{- tag -}}">{{- tag -}}</a>
35
+ {% endfor %}
36
+ {% else %}
37
+ {{ page.tags | join: ", " }}
38
+ {% endif %}
39
+ {% endif %}
40
+ </p>
41
+
42
+ </div>
43
+
44
+ {%- endif -%}
45
+
46
+ </div>
47
+
12
48
  </div>
49
+
50
+ <div class="wrapper">
51
+
52
+ </div>
53
+
13
54
  </main>
14
55
 
15
56
  {% include footer.html %}
16
-
57
+
17
58
  </body>
59
+
18
60
  </html>
data/_layouts/home.html CHANGED
@@ -1,4 +1,5 @@
1
1
  <!DOCTYPE html>
2
+
2
3
  {%- include head.html -%}
3
4
 
4
5
  <body>
@@ -7,7 +8,7 @@
7
8
 
8
9
  <main class="page-content home-page" aria-label="Content">
9
10
 
10
- <div class="wrapper-wide">
11
+ <div class="wrapper">
11
12
 
12
13
  <div class="col-3 col-m-12 col-s-12">
13
14
 
data/_layouts/page.html CHANGED
@@ -4,6 +4,15 @@ layout: default
4
4
  <article class="post">
5
5
  <header class="post-header">
6
6
  <h1 style="text-align: center;" class="post-title">{{ page.title | escape }}</h1>
7
+ <p class="post-meta">
8
+ {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
9
+ {%- if page.last_modified_at -%}
10
+ {%- assign mdate = page.last_modified_at | date_to_xmlschema -%}
11
+ <time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
12
+ Last modified: {{ mdate | date: date_format }}
13
+ </time>
14
+ {%- endif -%}
15
+ </p>
7
16
  </header>
8
17
  <div class="post-content">
9
18
  {{ content }}
data/_layouts/post.html CHANGED
@@ -8,7 +8,6 @@ layout: default
8
8
  <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
9
9
 
10
10
  <p class="post-meta">
11
-
12
11
  {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
13
12
  <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
14
13
  {%- if page.time -%}
@@ -23,22 +22,6 @@ layout: default
23
22
  ~ {{ mdate | date: date_format }}
24
23
  </time>
25
24
  {%- endif -%}
26
-
27
- {% if page.category %}
28
- • {{ page.category }}
29
- {% endif %}
30
-
31
- {% if page.tags.size > 0 %}
32
- • Tags:
33
- {% if site.link-tags %}
34
- {% for tag in page.tags %}
35
- <a href="{{ '/tags' | relative_url }}#{{- tag -}}">{{- tag -}}</a>
36
- {% endfor %}
37
- {% else %}
38
- {{ page.tags | join: ", " }}
39
- {% endif %}
40
- {% endif %}
41
-
42
25
  </p>
43
26
  </header>
44
27
 
@@ -64,9 +64,8 @@ img {
64
64
  margin-bottom: $spacing-unit;
65
65
  border-radius: 8px;
66
66
  box-shadow: $shadow-body;
67
- background-color: $bg;
68
67
 
69
- opacity: 0.6;
68
+ opacity: 0.75;
70
69
  &:hover {
71
70
  opacity: 1;
72
71
  }
@@ -76,23 +75,25 @@ img {
76
75
 
77
76
 
78
77
  /**
79
- * Videos
78
+ * Embed
80
79
  */
80
+
81
81
  iframe {
82
- display: block;
83
82
  max-width: 100%;
84
83
  margin-top: $spacing-unit;
85
84
  margin-bottom: $spacing-unit;
86
85
  margin-left: auto;
87
86
  margin-right: auto;
88
-
89
87
  border: 0px;
90
- border-radius: 8px;
91
- box-shadow: $shadow-body;
88
+ opacity: 0.75;
89
+ &:hover {
90
+ opacity: 1;
91
+ }
92
92
  }
93
93
 
94
94
 
95
95
 
96
+
96
97
  /**
97
98
  * Figures
98
99
  */
@@ -187,7 +188,7 @@ blockquote {
187
188
  pre,
188
189
  code {
189
190
  @include relative-font-size(0.9375);
190
- background-color: $box-fill;
191
+ background-color: $code;
191
192
  }
192
193
 
193
194
  code {
@@ -213,42 +214,8 @@ pre {
213
214
  * Wrapper
214
215
  */
215
216
  .wrapper {
216
- max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
217
- max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
218
- margin-right: auto;
219
- margin-left: auto;
220
- padding-right: $spacing-unit;
221
- padding-left: $spacing-unit;
222
- @extend %clearfix;
223
-
224
- @include media-query($on-palm) {
225
- max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
226
- max-width: calc(#{$content-width} - (#{$spacing-unit}));
227
- padding-right: $spacing-unit / 2;
228
- padding-left: $spacing-unit / 2;
229
- }
230
- }
231
-
232
- .wrapper-wide {
233
- max-width: -webkit-calc(#{$nav-width} - (#{$spacing-unit} * 2));
234
- max-width: calc(#{$nav-width} - (#{$spacing-unit} * 2));
235
- margin-right: auto;
236
- margin-left: auto;
237
- padding-right: $spacing-unit * 2;
238
- padding-left: $spacing-unit * 2;
239
- @extend %clearfix;
240
-
241
- @include media-query($on-palm) {
242
- max-width: -webkit-calc(#{$nav-width} - (#{$spacing-unit}));
243
- max-width: calc(#{$nav-width} - (#{$spacing-unit}));
244
- padding-right: $spacing-unit / 2;
245
- padding-left: $spacing-unit / 2;
246
- }
247
- }
248
-
249
- .nav-wrapper {
250
- max-width: -webkit-calc(#{$nav-width} - (#{$spacing-unit} * 2));
251
- max-width: calc(#{$nav-width} - (#{$spacing-unit} * 2));
217
+ max-width: -webkit-calc(#{$content-width});
218
+ max-width: calc(#{$content-width});
252
219
  margin-right: auto;
253
220
  margin-left: auto;
254
221
  padding-right: $spacing-unit;
@@ -256,8 +223,8 @@ pre {
256
223
  @extend %clearfix;
257
224
 
258
225
  @include media-query($on-palm) {
259
- max-width: -webkit-calc(#{$nav-width} - (#{$spacing-unit}));
260
- max-width: calc(#{$nav-width} - (#{$spacing-unit}));
226
+ max-width: -webkit-calc(#{$content-width});
227
+ max-width: calc(#{$content-width});
261
228
  padding-right: $spacing-unit / 2;
262
229
  padding-left: $spacing-unit / 2;
263
230
  }
@@ -49,7 +49,6 @@
49
49
  box-shadow: none;
50
50
  margin-top: 5px;
51
51
  margin-bottom: 0px;
52
- border-radius: 8px;
53
52
  }
54
53
 
55
54
  /*
@@ -231,7 +230,9 @@
231
230
 
232
231
  .post-meta {
233
232
  font-size: $small-font-size;
233
+ text-align: center;
234
234
  color: $text-muted;
235
+
235
236
  a {
236
237
  color: $text-muted;
237
238
  text-decoration: none;
@@ -248,6 +249,21 @@
248
249
  }
249
250
  }
250
251
 
252
+ .sidebar-meta {
253
+ display: block;
254
+ text-align: center;
255
+ border-radius: 8px;
256
+ box-shadow: $shadow-body;
257
+ width: 100%;
258
+ height: auto;
259
+ padding-top: $spacing-unit;
260
+ padding-bottom: $spacing-unit;
261
+ padding-left: $spacing-unit / 2;
262
+ padding-right: $spacing-unit / 2;
263
+ font-size: $small-font-size;
264
+ background-color: $box-fill;
265
+ }
266
+
251
267
  .post-link {
252
268
  display: block;
253
269
  @include relative-font-size(1.5);
@@ -258,13 +274,12 @@
258
274
  */
259
275
 
260
276
  .post-header {
261
- margin-bottom: $spacing-unit;
277
+ margin-bottom: $spacing-unit * 2;
262
278
  }
263
279
 
264
280
  .post-title {
265
281
  @include relative-font-size(2.625);
266
- letter-spacing: -1px;
267
- line-height: 1;
282
+ text-align: center;
268
283
 
269
284
  @include media-query($on-tablet) {
270
285
  @include relative-font-size(2.25);
@@ -299,6 +314,21 @@
299
314
  }
300
315
  }
301
316
 
317
+ .video {
318
+ display: block;
319
+ border-radius: 8px;
320
+ box-shadow: $shadow-body;
321
+ }
322
+
323
+ .document {
324
+ display: block;
325
+ width: 100%;
326
+ height: 500px;
327
+ border-radius: 8px;
328
+ box-shadow: $shadow-body;
329
+ }
330
+
331
+
302
332
  /* --------------- profile page ---------------------- */
303
333
 
304
334
  .profile-common{
@@ -499,7 +529,7 @@
499
529
  /* ---------------- Footer ----------------- */
500
530
 
501
531
  .site-footer {
502
- padding-left: $spacing-unit * 1.5;
532
+ /*padding-left: $spacing-unit * 1.5;*/
503
533
  background-color: $footer-color;
504
534
  color: $nav-text-muted;
505
535
  a{
@@ -528,20 +558,20 @@
528
558
 
529
559
  .footer-col-1 {
530
560
  text-align: left;
531
- width: -webkit-calc(33% - (#{$spacing-unit} / 2));
532
- width: calc(33% - (#{$spacing-unit} / 2));
561
+ width: -webkit-calc(33%);
562
+ width: calc(33%);
533
563
  }
534
564
 
535
565
  .footer-col-2 {
536
566
  text-align: center;
537
- width: -webkit-calc(34% - (#{$spacing-unit} / 2));
538
- width: calc(34% - (#{$spacing-unit} / 2));
567
+ width: -webkit-calc(34%);
568
+ width: calc(34%);
539
569
  }
540
570
 
541
571
  .footer-col-3 {
542
572
  text-align: right;
543
- width: -webkit-calc(33% - (#{$spacing-unit} / 2));
544
- width: calc(33% - (#{$spacing-unit} / 2));
573
+ width: -webkit-calc(33%);
574
+ width: calc(33%);
545
575
  }
546
576
 
547
577
  @include media-query($on-palm) {
@@ -552,5 +582,3 @@
552
582
  width: calc(100% - (#{$spacing-unit} / 2));
553
583
  }
554
584
  }
555
-
556
-
data/_sass/sencilla.scss CHANGED
@@ -3,12 +3,9 @@
3
3
 
4
4
  /* ************* content width *********** */
5
5
 
6
- $nav-width: 1280px !default;
7
- $content-width: 750px !default;
8
- $home-content-width: $nav-width !default;
9
-
10
- $on-palm: 600px !default;
11
- $on-tablet: 767px !default;
6
+ $content-width: 1100px !default;
7
+ $on-palm: 600px !default;
8
+ $on-tablet: 767px !default;
12
9
 
13
10
  @mixin media-query($device) {
14
11
  @media screen and (max-width: $device) {
@@ -63,13 +60,13 @@ $cyan9: #006064;
63
60
  /* ************ main color scheme ************ */
64
61
 
65
62
  /* navbar */
66
- $nav-bg: $grey9 !default; /* background */
63
+ $nav-bg: $grey95 !default; /* background */
67
64
  $nav-hl: $grey8 !default; /* highlight on hover */
68
65
  $nav-hl-dark: $grey85 !default;
69
66
  $nav-hl-light: $grey7 !default;
70
67
  $nav-dd: $grey95 !default; /* dropdown */
71
- $nav-text: $grey3 !default;
72
- $nav-text-muted: $grey5 !default;
68
+ $nav-text: $grey4 !default;
69
+ $nav-text-muted: $grey7 !default;
73
70
 
74
71
  /* body */
75
72
  $bg: $grey9 !default;
@@ -88,7 +85,7 @@ $box-fill-dark: $grey95 !default;
88
85
  $code: $box-fill !default;
89
86
 
90
87
  /* footer */
91
- $footer-color: $grey95 !default;
88
+ $footer-color: $nav-bg !default;
92
89
 
93
90
  $text-muted: $grey5;
94
91
  //$profile-bg-color: $grey8;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sencilla
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mohit Saharan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-19 00:00:00.000000000 Z
11
+ date: 2022-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -89,18 +89,14 @@ extra_rdoc_files: []
89
89
  files:
90
90
  - LICENSE.txt
91
91
  - README.md
92
+ - _includes/custom-head.html
92
93
  - _includes/footer.html
93
- - _includes/google-analytics.html
94
94
  - _includes/head.html
95
95
  - _includes/header.html
96
96
  - _includes/image.html
97
- - _includes/latex-head.html
98
97
  - _includes/social.html
99
98
  - _layouts/default.html
100
99
  - _layouts/home.html
101
- - _layouts/latex-default.html
102
- - _layouts/latex-page.html
103
- - _layouts/latex-post.html
104
100
  - _layouts/page.html
105
101
  - _layouts/post.html
106
102
  - _sass/sencilla.scss
@@ -1,9 +0,0 @@
1
- <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
2
- <script>
3
- window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
4
- window.dataLayer = window.dataLayer || [];
5
- function gtag(){dataLayer.push(arguments);}
6
- gtag('js', new Date());
7
-
8
- gtag('config', '{{ site.google_analytics }}');
9
- </script>
@@ -1,23 +0,0 @@
1
- <head>
2
- <meta charset="utf-8">
3
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
- <meta name="viewport" content="width=device-width, initial-scale=1">
5
- {%- seo -%}
6
- <link rel="stylesheet" href="/assets/css/main.css">
7
- {%- feed_meta -%}
8
- {%- if jekyll.environment == 'production' and site.google_analytics -%}
9
- {%- include google-analytics.html -%}
10
- {%- endif -%}
11
- <link href="https://use.fontawesome.com/releases/v5.14.0/css/all.css" rel="stylesheet">
12
-
13
- {%- if site.favicon == "True" -%}
14
- {%- include html_code.html -%}
15
- {%- endif -%}
16
-
17
- <script type="text/javascript" async src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
18
- </script>
19
- <script type="text/x-mathjax-config">
20
- MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
21
- </script>
22
-
23
- </head>
@@ -1,20 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
-
4
- {%- include latex-head.html -%}
5
-
6
- <body>
7
-
8
- {%- include header.html -%}
9
-
10
- <main class="page-content" aria-label="Content">
11
- <div class="wrapper">
12
- {{ content }}
13
- </div>
14
- </main>
15
-
16
- {%- include footer.html -%}
17
-
18
- </body>
19
-
20
- </html>
@@ -1,11 +0,0 @@
1
- ---
2
- layout: latex-default
3
- ---
4
- <article class="post">
5
- <header class="post-header">
6
- <h1 style="text-align: center;" class="post-title">{{ page.title | escape }}</h1>
7
- </header>
8
- <div class="post-content">
9
- {{ content }}
10
- </div>
11
- </article>
@@ -1,67 +0,0 @@
1
- ---
2
- layout: latex-default
3
- ---
4
- <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
5
-
6
- <header class="post-header">
7
-
8
- <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
9
-
10
- <p class="post-meta">
11
-
12
- {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
13
- <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
14
- {%- if page.time -%}
15
- {{ page.time | date: "%H:%M %Z" }} {{ page.date | date: date_format }}
16
- {%- else -%}
17
- {{ page.date | date: date_format }}
18
- {%- endif -%}
19
- </time>
20
- {%- if page.last_modified_at -%}
21
- {%- assign mdate = page.last_modified_at | date_to_xmlschema -%}
22
- <time class="dt-modified" datetime="{{ mdate }}" itemprop="dateModified">
23
- ~ {{ mdate | date: date_format }}
24
- </time>
25
- {%- endif -%}
26
-
27
- {% if page.category %}
28
- • {{ page.category }}
29
- {% endif %}
30
-
31
- {% if page.tags.size > 0 %}
32
- • Tags:
33
- {% if site.link-tags %}
34
- {% for tag in page.tags %}
35
- <a href="{{ '/tags' | relative_url }}#{{- tag -}}">{{- tag -}}</a>
36
- {% endfor %}
37
- {% else %}
38
- {{ page.tags | join: ", " }}
39
- {% endif %}
40
- {% endif %}
41
-
42
- </p>
43
- </header>
44
-
45
- <div class="post-content e-content" itemprop="articleBody">
46
- {{ content }}
47
- </div>
48
-
49
- <div class="pagination">
50
-
51
- {% if page.previous.url %}
52
- <a href="{{ page.previous.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}" style="float: left;"><i class="fas fa-arrow-left"></i> Previous Post</a>
53
- {% endif %}
54
-
55
- {% if page.next.url %}
56
- <a href="{{ page.next.url | relative_url }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}" style="float: right;">Next Post <i class="fas fa-arrow-right"></i></a>
57
- {% endif %}
58
-
59
- </div>
60
-
61
- {%- if site.disqus.shortname -%}
62
- {%- include disqus_comments.html -%}
63
- {%- endif -%}
64
-
65
- <a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
66
-
67
- </article>