testc100 0.1.2 → 0.1.3
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 +4 -4
- data/_layouts/default.html +22 -2
- data/_layouts/page.html +4 -1
- data/_layouts/post.html +82 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e238dd98343de95ceaa0c764625b63b7efe9c85ffa5e428df9b3e53d475d2fdb
|
|
4
|
+
data.tar.gz: 125508c28929ba08c4d6feda57b917c3b12d455dcc16a5dceb8d486efaf8510f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54453e624dfaaee7c6b99844debf5f5ec7f586be938c1ca0b06e1fc69791555cd532da0bc5a1d2648dd31f298f33bf544ce639706168acb5b5841be4fd84a942
|
|
7
|
+
data.tar.gz: 3d6bde6c6a7f2c3b21cd63c6276c52ec81033e01ffab6ecd69b1a6c57a59a0ac687b427b47ecce02651d17b97c4b1c3ca29aa49e235d1b2f159a0ecc5b8154f7
|
data/_layouts/default.html
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
|
|
3
|
+
{% include head.html %}
|
|
4
|
+
<body>
|
|
5
|
+
<div class="container">
|
|
6
|
+
{% include header.html %}
|
|
2
7
|
|
|
3
|
-
<
|
|
8
|
+
<main>
|
|
9
|
+
{{ content }}
|
|
10
|
+
</main>
|
|
11
|
+
|
|
12
|
+
{% include footer.html %}
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
{% if page.math %}
|
|
16
|
+
{% include mathjax.html %}
|
|
17
|
+
{% endif %}
|
|
18
|
+
|
|
19
|
+
{% if jekyll.environment == 'production' and site.google_analytics %}
|
|
20
|
+
{% include google-analytics.html %}
|
|
21
|
+
{% endif %}
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
|
@@ -2,4 +2,85 @@
|
|
|
2
2
|
layout: default
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<article class="post">
|
|
6
|
+
<h1 class="post-title">{{ page.title }}</h1>
|
|
7
|
+
<div class="post-meta">
|
|
8
|
+
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
|
9
|
+
{{ page.date | date_to_string }}
|
|
10
|
+
</time>
|
|
11
|
+
{%- if page.last_modified_at -%}
|
|
12
|
+
<span> ~ </span>
|
|
13
|
+
{%- assign mdate = page.last_modified_at | date_to_xmlschema -%}
|
|
14
|
+
<time datetime="{{ mdate }}" itemprop="dateModified">
|
|
15
|
+
{{ mdate | date_to_string }}
|
|
16
|
+
</time>
|
|
17
|
+
{%- endif -%}
|
|
18
|
+
{%- if page.author -%}
|
|
19
|
+
<span> • </span>
|
|
20
|
+
{% for author in page.author %}
|
|
21
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
|
22
|
+
{{ author }}
|
|
23
|
+
</span>
|
|
24
|
+
{%- if forloop.last == false %}, {% endif -%}
|
|
25
|
+
{% endfor %}
|
|
26
|
+
{%- endif -%}
|
|
27
|
+
{% if page.categories.size > 0 %}
|
|
28
|
+
<span> • </span>
|
|
29
|
+
<span class="post-categories-section">
|
|
30
|
+
<i class="post-categories-icon fas fa-folder"></i>
|
|
31
|
+
<ul class="post-categories">
|
|
32
|
+
{%- for category in page.categories -%}
|
|
33
|
+
<li>
|
|
34
|
+
{% assign slugified_category = category | slugify %}
|
|
35
|
+
{%- if site.categories_path -%}
|
|
36
|
+
<a class="post-category" href="{{ site.categories_path | relative_url }}#{{ slugified_category }}">{{ category }}</a>
|
|
37
|
+
{%- else -%}
|
|
38
|
+
<span class="post-category">{{ category }}</span>
|
|
39
|
+
{%- endif -%}
|
|
40
|
+
</li>
|
|
41
|
+
{%- endfor -%}
|
|
42
|
+
</ul>
|
|
43
|
+
</span>
|
|
44
|
+
{% endif %}
|
|
45
|
+
{% if page.tags.size > 0 %}
|
|
46
|
+
<span> • </span>
|
|
47
|
+
<span class="post-tags-section">
|
|
48
|
+
<i class="post-tags-icon fas fa-tag"></i>
|
|
49
|
+
<ul class="post-tags">
|
|
50
|
+
{%- for tag in page.tags -%}
|
|
51
|
+
<li>
|
|
52
|
+
{% assign slugified_tag = tag | slugify %}
|
|
53
|
+
{%- if site.tags_path -%}
|
|
54
|
+
<a class="post-tag" href="{{ site.tags_path | relative_url }}#{{ slugified_tag }}">{{ slugified_tag }}</a>
|
|
55
|
+
{%- else -%}
|
|
56
|
+
<span class="post-tag">{{ slugified_tag }}</span>
|
|
57
|
+
{%- endif -%}
|
|
58
|
+
</li>
|
|
59
|
+
{%- endfor -%}
|
|
60
|
+
</ul>
|
|
61
|
+
</span>
|
|
62
|
+
{% endif %}
|
|
63
|
+
</div>
|
|
64
|
+
|
|
65
|
+
{{ content }}
|
|
66
|
+
|
|
67
|
+
{% if jekyll.environment == "production" and site.disqus and page.comments != false %}
|
|
68
|
+
{% include disqus.html %}
|
|
69
|
+
{% endif %}
|
|
70
|
+
</article>
|
|
71
|
+
|
|
72
|
+
{% if site.related_posts != empty %}
|
|
73
|
+
<aside class="related">
|
|
74
|
+
<h2 class="related-title">Related posts</h2>
|
|
75
|
+
<ul class="related-posts">
|
|
76
|
+
{% for post in site.related_posts limit:3 %}
|
|
77
|
+
<li>
|
|
78
|
+
<a href="{{ post.url | relative_url }}">
|
|
79
|
+
{{ post.title }}
|
|
80
|
+
</a>
|
|
81
|
+
<small><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time></small>
|
|
82
|
+
</li>
|
|
83
|
+
{% endfor %}
|
|
84
|
+
</ul>
|
|
85
|
+
</aside>
|
|
86
|
+
{% endif %}
|