jekyll-theme-apollo 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE +43 -43
- data/README.md +109 -92
- data/_includes/mixins/paginator.pug +26 -26
- data/_includes/mixins/post.pug +80 -88
- data/_includes/partial/comment.pug +16 -16
- data/_includes/partial/copyright.pug +12 -10
- data/_includes/partial/head.pug +14 -14
- data/_includes/partial/layout.pug +18 -18
- data/_includes/partial/nav.pug +16 -16
- data/_includes/partial/scripts.pug +12 -12
- data/_layouts/archive.pug +12 -12
- data/_layouts/home.pug +12 -12
- data/_layouts/page.pug +19 -19
- data/_layouts/post.pug +19 -19
- data/_sass/_partial/archive-post-list.scss +26 -26
- data/_sass/_partial/base.scss +79 -79
- data/_sass/_partial/copyright.scss +16 -16
- data/_sass/_partial/footer.scss +21 -21
- data/_sass/_partial/header.scss +25 -25
- data/_sass/_partial/highlight.scss +66 -66
- data/_sass/_partial/home-post-list.scss +23 -23
- data/_sass/_partial/mq.scss +48 -48
- data/_sass/_partial/normalize.scss +424 -424
- data/_sass/_partial/post.scss +265 -265
- data/_sass/apollo.scss +20 -20
- data/assets/fonts/sourcesanspro.woff +0 -0
- data/assets/fonts/sourcesanspro.woff2 +0 -0
- data/assets/styles/apollo.scss +4 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3fdd9f670cf538dd4cf36e4ac22d9dc8a51327ba70c99466d458461159a998da
|
4
|
+
data.tar.gz: d97e53f845ebadc6d618b73f21d670b25ab1760565f0c551890a6825573e2bb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45b91cb65c5f333ff005a9b807648ffcd382883c9bb38ebede552f16fedd1a502e55ad6362f7b48d1a9b2ba0b2b6a6261e46f3a719c9a6f25db4afd9a032da85
|
7
|
+
data.tar.gz: c2626d41d4c1b843a35cad7b13f8d1d06029dc421cfd612e4bf3e81d442c664a8a0c924d068b7780a29ed406f93bc5667b4a9f179ea502f62de474e92771605f
|
data/LICENSE
CHANGED
@@ -1,43 +1,43 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2018-present Zigit Zo
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
22
|
-
|
23
|
-
The MIT License (MIT)
|
24
|
-
|
25
|
-
Copyright (c) 2015-2018 Sean Sun
|
26
|
-
|
27
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
28
|
-
of this software and associated documentation files (the "Software"), to deal
|
29
|
-
in the Software without restriction, including without limitation the rights
|
30
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
31
|
-
copies of the Software, and to permit persons to whom the Software is
|
32
|
-
furnished to do so, subject to the following conditions:
|
33
|
-
|
34
|
-
The above copyright notice and this permission notice shall be included in all
|
35
|
-
copies or substantial portions of the Software.
|
36
|
-
|
37
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
38
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
39
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
40
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
41
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
42
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
43
|
-
SOFTWARE.
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018-present Zigit Zo
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
22
|
+
|
23
|
+
The MIT License (MIT)
|
24
|
+
|
25
|
+
Copyright (c) 2015-2018 Sean Sun
|
26
|
+
|
27
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
28
|
+
of this software and associated documentation files (the "Software"), to deal
|
29
|
+
in the Software without restriction, including without limitation the rights
|
30
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
31
|
+
copies of the Software, and to permit persons to whom the Software is
|
32
|
+
furnished to do so, subject to the following conditions:
|
33
|
+
|
34
|
+
The above copyright notice and this permission notice shall be included in all
|
35
|
+
copies or substantial portions of the Software.
|
36
|
+
|
37
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
38
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
39
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
40
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
41
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
42
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
43
|
+
SOFTWARE.
|
data/README.md
CHANGED
@@ -1,92 +1,109 @@
|
|
1
|
-
jekyll-theme-apollo
|
2
|
-
===================
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
#
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
#
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
~~~
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
1
|
+
jekyll-theme-apollo
|
2
|
+
===================
|
3
|
+
|
4
|
+
Port [hexo-theme-apollo](https://github.com/pinggod/hexo-theme-apollo) to Jekyll.
|
5
|
+
|
6
|
+
Installation
|
7
|
+
------------
|
8
|
+
|
9
|
+
~~~ sh
|
10
|
+
# Node.js + Pug
|
11
|
+
# https://nodejs.org/en/download/
|
12
|
+
npm install -g pug
|
13
|
+
|
14
|
+
# Jekyll
|
15
|
+
jekyll new blog && cd blog
|
16
|
+
echo gem \"jekyll-theme-apollo\", \"~\> 0.1.2\" >> Gemfile # add theme in `Gemfile`
|
17
|
+
sed -i "s/minima/jekyll-theme-apollo/g" _config.yml # chage theme in `_config.yml`
|
18
|
+
bundle install # :coffee:
|
19
|
+
~~~
|
20
|
+
|
21
|
+
Customization
|
22
|
+
-------------
|
23
|
+
|
24
|
+
In `_config.yml`:
|
25
|
+
|
26
|
+
~~~ yml
|
27
|
+
... # default settings generated by jekyll
|
28
|
+
# settings listed below are all optional
|
29
|
+
|
30
|
+
# general settings
|
31
|
+
lang: zh-cn # language, [en, zh-cn]
|
32
|
+
copyright: <code>MIT License</code> # copyright info, as HTML
|
33
|
+
startyear: "2018" # affect footer if `copyright` unset, currently MUST using string
|
34
|
+
favicon_url: /assets/favicon.png # favicon, default value is `/favicon.ico`
|
35
|
+
logo_url: /assets/favicon.png # logo
|
36
|
+
|
37
|
+
# navigator
|
38
|
+
menu:
|
39
|
+
- title: one
|
40
|
+
url: /one
|
41
|
+
- title: two
|
42
|
+
url: http://two
|
43
|
+
...
|
44
|
+
|
45
|
+
# post settings
|
46
|
+
excerpt_separator: <!--more--> # excerpt indicator
|
47
|
+
|
48
|
+
# valine.js comment
|
49
|
+
valine:
|
50
|
+
app_id: your-id
|
51
|
+
app_key: your-key
|
52
|
+
|
53
|
+
# google analytics
|
54
|
+
google_analytics: ua-xxxxxxx
|
55
|
+
|
56
|
+
# site feed
|
57
|
+
plugins:
|
58
|
+
- jekyll-feed
|
59
|
+
feed:
|
60
|
+
path: atom.xml
|
61
|
+
|
62
|
+
... # continue default settings
|
63
|
+
~~~
|
64
|
+
|
65
|
+
Comments
|
66
|
+
--------
|
67
|
+
|
68
|
+
* Comment system is powered by [valine.js](https://valine.js.org)
|
69
|
+
* Ensure that you have the right `valine.app_id` and `valine.app_key` set in `_config.yml`
|
70
|
+
* Comment is enabled by default, you can add `comment: false` to the front matter to disable it
|
71
|
+
|
72
|
+
MathJax
|
73
|
+
-------
|
74
|
+
|
75
|
+
MathJax is disabled by default, add `mathjax: true` to the front matter if you want to enable it
|
76
|
+
|
77
|
+
Tip in post
|
78
|
+
-----------
|
79
|
+
|
80
|
+
You can use the [block IAL](https://kramdown.gettalong.org/syntax.html#block-ials) to make a tip. Just add `{:.tip}` before/after a paragraph, like:
|
81
|
+
|
82
|
+
~~~ md
|
83
|
+
{:.tip}
|
84
|
+
Big Brother is watching you.
|
85
|
+
|
86
|
+
This is no longer a tip.
|
87
|
+
~~~
|
88
|
+
|
89
|
+
Translated article
|
90
|
+
------------------
|
91
|
+
|
92
|
+
If your article is translated from another source, then you can specify `from: http://orginal-post` in the front matter, it will make a link refer to the `http://orignal-post`.
|
93
|
+
|
94
|
+
Archive
|
95
|
+
-------
|
96
|
+
|
97
|
+
Create a file such as `archive.md`, in anywhere you like, and make the front matter like:
|
98
|
+
|
99
|
+
~~~ yml
|
100
|
+
---
|
101
|
+
layout: archive
|
102
|
+
---
|
103
|
+
~~~
|
104
|
+
|
105
|
+
See also
|
106
|
+
--------
|
107
|
+
|
108
|
+
1. [hexo-theme-apollo/doc](https://github.com/pinggod/hexo-theme-apollo/blob/master/doc/)
|
109
|
+
2. [jekyll-theme-apollo/_doc](todo://404)
|
@@ -1,26 +1,26 @@
|
|
1
|
-
mixin home()
|
2
|
-
| {% assign prev = paginator.previous_page_path %}
|
3
|
-
| {% assign next = paginator.next_page_path %}
|
4
|
-
.paginator
|
5
|
-
| {% if paginator.previous_page %}
|
6
|
-
a.prev(href="{{ prev | relative_url }}")
|
7
|
-
!= "{{ site.data.lang[site.lang].prev | default: 'PREV' }}"
|
8
|
-
| {% endif %}
|
9
|
-
| {% if paginator.next_page %}
|
10
|
-
a.next(href="{{ next | relative_url }}")
|
11
|
-
!= "{{ site.data.lang[site.lang].next | default: 'NEXT' }}"
|
12
|
-
| {% endif %}
|
13
|
-
|
14
|
-
mixin post()
|
15
|
-
| {% assign prev = page.previous.url %}
|
16
|
-
| {% assign next = page.next.url %}
|
17
|
-
.paginator
|
18
|
-
//- next/prev adapt for jekyll
|
19
|
-
| {% if page.previous %}
|
20
|
-
a.next(href="{{ prev | relative_url }}")
|
21
|
-
!= "{{ site.data.lang[site.lang].next_post | default: 'NEXT' }}"
|
22
|
-
| {% endif %}
|
23
|
-
| {% if page.next %}
|
24
|
-
a.prev(href="{{ next | relative_url }}")
|
25
|
-
!= "{{ site.data.lang[site.lang].prev_post | default: 'PREV' }}"
|
26
|
-
| {% endif %}
|
1
|
+
mixin home()
|
2
|
+
| {% assign prev = paginator.previous_page_path %}
|
3
|
+
| {% assign next = paginator.next_page_path %}
|
4
|
+
.paginator
|
5
|
+
| {% if paginator.previous_page %}
|
6
|
+
a.prev(href="{{ prev | relative_url }}")
|
7
|
+
!= "{{ site.data.lang[site.lang].prev | default: 'PREV' }}"
|
8
|
+
| {% endif %}
|
9
|
+
| {% if paginator.next_page %}
|
10
|
+
a.next(href="{{ next | relative_url }}")
|
11
|
+
!= "{{ site.data.lang[site.lang].next | default: 'NEXT' }}"
|
12
|
+
| {% endif %}
|
13
|
+
|
14
|
+
mixin post()
|
15
|
+
| {% assign prev = page.previous.url %}
|
16
|
+
| {% assign next = page.next.url %}
|
17
|
+
.paginator
|
18
|
+
//- next/prev adapt for jekyll
|
19
|
+
| {% if page.previous %}
|
20
|
+
a.next(href="{{ prev | relative_url }}")
|
21
|
+
!= "{{ site.data.lang[site.lang].next_post | default: 'NEXT' }}"
|
22
|
+
| {% endif %}
|
23
|
+
| {% if page.next %}
|
24
|
+
a.prev(href="{{ next | relative_url }}")
|
25
|
+
!= "{{ site.data.lang[site.lang].prev_post | default: 'PREV' }}"
|
26
|
+
| {% endif %}
|
data/_includes/mixins/post.pug
CHANGED
@@ -1,88 +1,80 @@
|
|
1
|
-
//- pug/js cannot get on well with liquid/ruby, especially in passing parameters
|
2
|
-
mixin postInfo(item)
|
3
|
-
.post-info
|
4
|
-
!= full_date(item.date, 'll')
|
5
|
-
if item.from && (is_home() || is_post())
|
6
|
-
a.post-from(href=item.from target="_blank" title=item.from)!= __('translated')
|
7
|
-
//- todo, currently using copy and paste
|
8
|
-
|
9
|
-
//- Index Page
|
10
|
-
mixin posts()
|
11
|
-
| {% assign date_format = site.date_format | default: "%b %-d, %Y" %}
|
12
|
-
ul.home.post-list
|
13
|
-
| {% for post in site.posts %}
|
14
|
-
li.post-list-item
|
15
|
-
article.post-block
|
16
|
-
h2.post-title
|
17
|
-
a.post-title-link(href="{{ post.url | relative_url }}")!= "{{ post.title }}"
|
18
|
-
.post-info
|
19
|
-
!= "{{ post.date | date: date_format }}"
|
20
|
-
| {% if post.from %}
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
.post
|
27
|
-
!= "{{
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
39
|
-
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
.post-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
.post-
|
63
|
-
!= "{{
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
.post-
|
80
|
-
!= "
|
81
|
-
| {% if page.from %}
|
82
|
-
| {% if page.layout == "home" or page.layout == "post" %}
|
83
|
-
a.post-from(href="{{ page.from }}" target="_blank" title="{{ page.from }}")
|
84
|
-
!= "{{ site.data.lang[site.lang].translated | default: 'Translation · Original Link' }}"
|
85
|
-
| {% endif %}
|
86
|
-
| {% endif %}
|
87
|
-
.post-content
|
88
|
-
!= "{{ content }}"
|
1
|
+
//- pug/js cannot get on well with liquid/ruby, especially in passing parameters
|
2
|
+
mixin postInfo(item)
|
3
|
+
.post-info
|
4
|
+
!= full_date(item.date, 'll')
|
5
|
+
if item.from && (is_home() || is_post())
|
6
|
+
a.post-from(href=item.from target="_blank" title=item.from)!= __('translated')
|
7
|
+
//- todo, currently using copy and paste
|
8
|
+
|
9
|
+
//- Index Page
|
10
|
+
mixin posts()
|
11
|
+
| {% assign date_format = site.date_format | default: "%b %-d, %Y" %}
|
12
|
+
ul.home.post-list
|
13
|
+
| {% for post in site.posts %}
|
14
|
+
li.post-list-item
|
15
|
+
article.post-block
|
16
|
+
h2.post-title
|
17
|
+
a.post-title-link(href="{{ post.url | relative_url }}")!= "{{ post.title }}"
|
18
|
+
.post-info
|
19
|
+
!= "{{ post.date | date: date_format }}"
|
20
|
+
| {% if post.from %}
|
21
|
+
a.post-from(href="{{ post.from }}" target="_blank" title="{{ post.from }}")
|
22
|
+
!= "{{ site.data.lang[site.lang].translated | default: 'Translation · Original Link' }}"
|
23
|
+
| {% endif %}
|
24
|
+
.post-content
|
25
|
+
!= "{{ post.excerpt }}"
|
26
|
+
a.read-more(href="{{ post.url | relative_url }}")
|
27
|
+
!= "{{ site.data.lang[site.lang].more | default: '...more' }}"
|
28
|
+
| {% endfor %}
|
29
|
+
|
30
|
+
//- Archive Page
|
31
|
+
mixin postList()
|
32
|
+
| {% assign date_format = site.date_format | default: "%b %-d, %Y" %}
|
33
|
+
.archive
|
34
|
+
| {% assign prev_year = 0 %}
|
35
|
+
| {% for post in site.posts %}
|
36
|
+
| {% assign year = post.date | date: "%Y" %}
|
37
|
+
| {% if year != prev_year %}
|
38
|
+
h2.archive-year!= "{{ year }}"
|
39
|
+
| {% assign prev_year = year %}
|
40
|
+
| {% endif %}
|
41
|
+
.post-item
|
42
|
+
.post-info
|
43
|
+
!= "{{ post.date | date: date_format }}"
|
44
|
+
a.post-title-link(href="{{ post.url | relative_url }}")!= "{{ post.title }}"
|
45
|
+
| {% endfor %}
|
46
|
+
|
47
|
+
//- Post Page
|
48
|
+
mixin post()
|
49
|
+
| {% assign date_format = site.date_format | default: "%b %-d, %Y" %}
|
50
|
+
.post
|
51
|
+
article.post-block
|
52
|
+
h1.post-title
|
53
|
+
!= "{{ page.title }}"
|
54
|
+
.post-info
|
55
|
+
!= "{{ page.date | date: date_format }}"
|
56
|
+
| {% if page.from %}
|
57
|
+
| {% if page.layout == "home" or page.layout == "post" %}
|
58
|
+
a.post-from(href="{{ page.from }}" target="_blank" title="{{ page.from }}")
|
59
|
+
!= "{{ site.data.lang[site.lang].translated | default: 'Translation · Original Link' }}"
|
60
|
+
| {% endif %}
|
61
|
+
| {% endif %}
|
62
|
+
.post-content
|
63
|
+
!= "{{ content }}"
|
64
|
+
|
65
|
+
//- Page Page
|
66
|
+
mixin page()
|
67
|
+
.post
|
68
|
+
article.post-block
|
69
|
+
h1.post-title
|
70
|
+
!= "{{ page.title }}"
|
71
|
+
.post-info
|
72
|
+
!= " "
|
73
|
+
| {% if page.from %}
|
74
|
+
| {% if page.layout == "home" or page.layout == "post" %}
|
75
|
+
a.post-from(href="{{ page.from }}" target="_blank" title="{{ page.from }}")
|
76
|
+
!= "{{ site.data.lang[site.lang].translated | default: 'Translation · Original Link' }}"
|
77
|
+
| {% endif %}
|
78
|
+
| {% endif %}
|
79
|
+
.post-content
|
80
|
+
!= "{{ content }}"
|