jekyll-theme-paperwiki 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +81 -14
- data/_config.yml +45 -3
- data/_data/navigation.yml +6 -0
- data/_includes/collections_header.html +30 -0
- data/_includes/collections_sidebar.html +10 -52
- data/_includes/global_footer.html +2 -2
- data/_includes/global_header.html +0 -1
- data/_layouts/collections.html +1 -1
- data/_layouts/entry.html +11 -0
- data/_layouts/grammar.html +1 -7
- data/_layouts/launchpad.html +63 -0
- data/_layouts/page.html +1 -1
- data/_layouts/post.html +1 -1
- data/_layouts/reference_desk.html +17 -12
- data/_layouts/wiki.html +55 -27
- data/_layouts/work.html +1 -7
- data/_pages/random.html +41 -0
- data/_pages/search.md +25 -0
- data/_plugins/{_gloss.rb → gloss.rb} +0 -0
- data/_plugins/{_interlinear.rb → interlinear.rb} +0 -0
- data/_sass/partials/_base.scss +1 -6
- data/_sass/partials/_collections.scss +53 -0
- data/_sass/partials/_entries.scss +63 -21
- data/_sass/partials/_global.scss +21 -6
- data/_sass/partials/_launchpad.scss +86 -12
- data/assets/images/favicon.png +0 -0
- data/assets/images/wiki1.png +0 -0
- data/assets/images/wiki2.png +0 -0
- data/assets/js/search.js +3 -2
- metadata +12 -6
- data/_layouts/_dictionary.html +0 -10
- data/assets/js/list.js +0 -2020
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 537ec88608639efc7b930c4eacc4763b95cfd9afcf252d0e29bcb382032814ac
|
4
|
+
data.tar.gz: c5775b9cbf924df74540b1024700ebf47f827342d4b310bbf97ca65518ed5e59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 496115be9955cc434f57331c3f3afb2e6259310253a3b81be7881a0af5bc332b50d49471420fd7e11ee1a3b1f73f9e23356ea40d706b98bcaabfbc8e0bd5d001
|
7
|
+
data.tar.gz: 86f7cb061499a6c94431b816775d4ad1ced49a2f99f8bb6ca6d5dd7c0f5cc9340f4c87077e7c2e6a3b1b7b6fb168105525872adcd0fb751eab8c4be285d7d8bf
|
data/README.md
CHANGED
@@ -1,15 +1,33 @@
|
|
1
1
|
# jekyll-theme-paperwiki
|
2
2
|
|
3
|
-
|
3
|
+
The intent of this theme is to get all the code out of the way and to allow you to write Markdown articles.
|
4
4
|
|
5
|
-
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
6
5
|
|
7
|
-
|
6
|
+
|
7
|
+
## Usage
|
8
|
+
|
9
|
+
In case you're unfamiliar with it, a basic Jekyll site includes the following:
|
10
|
+
+ The `_includes` folder contains snippets of HTML that are frequently reused on pages throughout the website. This saves us from having to copy and paste the HTML on multiple pages, and we only have to edit it in one file in order to change every instance of it.
|
11
|
+
+ The `_layouts` folder contains the formatting for different types of pages, meaning that instead of formatting each page individually we can just specify which layout template to use.
|
12
|
+
+ The `_sass` folder contains all the styling for the site, written in SCSS.
|
13
|
+
+ The `_site` folder contains everything that Jekyll outputs when it builds the site. Don't edit anything in this folder, as it will be rewritten the next time you serve the site.
|
14
|
+
+ The `assets` folder contains things like fonts, images, and Javascript files. It also contains a `.scss` file importing all of your SCSS so that Jekyll can convert it to regular CSS.
|
15
|
+
|
16
|
+
This theme comes with all of these prepackaged, so most of what you have to do is edit the `_config.yaml` file. The theme has some default config set already, but you can override these in your own config file if you wish. You can also add any of the above folders with includes, layouts, or SCSS to override the theme's own files. For example, you will want to add your own `assets` folder to store your own images, including one titled `favicon.png` in order to override the placeholder one i've included.
|
17
|
+
|
8
18
|
|
9
19
|
|
10
20
|
## Installation
|
11
21
|
|
12
|
-
|
22
|
+
[Install Jekyll](https://jekyllrb.com/docs/). Create a new site by running the following in your terminal:
|
23
|
+
|
24
|
+
```
|
25
|
+
$ jekyll new MYSITENAME
|
26
|
+
```
|
27
|
+
|
28
|
+
This will give you a very bare bones Jekyll site, with an index page, a folder for blog posts, a config file, and a Gemfile. You will want to add a folder called `collections`, and inside of that another folder called `_wiki`.
|
29
|
+
|
30
|
+
To use this theme, open your Jekyll site's `Gemfile`, delete the line that says `gem "minima"` and replace it with this line:
|
13
31
|
|
14
32
|
```ruby
|
15
33
|
gem "jekyll-theme-paperwiki"
|
@@ -23,35 +41,84 @@ theme: jekyll-theme-paperwiki
|
|
23
41
|
|
24
42
|
And then execute:
|
25
43
|
|
26
|
-
|
44
|
+
```
|
45
|
+
$ bundle
|
46
|
+
```
|
27
47
|
|
28
48
|
Or install it yourself as:
|
29
49
|
|
30
|
-
|
50
|
+
```
|
51
|
+
$ gem install jekyll-theme-paperwiki
|
52
|
+
```
|
31
53
|
|
32
|
-
|
54
|
+
To serve your site locally, navigate into the site's directory and run:
|
33
55
|
|
34
|
-
|
56
|
+
```
|
57
|
+
$ bundle exec jekyll serve
|
58
|
+
```
|
35
59
|
|
36
|
-
|
60
|
+
Navigate to your localhost and voila! Start adding articles in your wiki collections folder.
|
37
61
|
|
38
|
-
|
62
|
+
All of your wiki pages should be written in markdown, and you must begin each `.md` file like so:
|
39
63
|
|
40
|
-
|
64
|
+
```
|
65
|
+
---
|
66
|
+
---
|
67
|
+
```
|
68
|
+
|
69
|
+
Between these two lines is where you would include *front matter*, such as specifying the layout or the permalink to the page. Jekyll needs to know that the front matter is there in order to output the page. However, you can leave the front matter blank - wiki pages have layouts and permalinks set by default in the theme's config file, and you only need to specify them if you want to override the defaults. You also do not need to specify a title for the page, as it is automatically taken from the filename.
|
70
|
+
|
71
|
+
|
41
72
|
|
42
|
-
|
73
|
+
## Config
|
43
74
|
|
44
|
-
|
75
|
+
By default, PaperWiki is set up to just be a collection of articles, with a handful of navigational pages, similar to Wikipedia. The articles are organized into the `collections` folder, in a subfolder titled `_wiki`. This is defined in the theme's config file like so:
|
76
|
+
|
77
|
+
```yaml
|
78
|
+
collections_dir: collections
|
79
|
+
collections:
|
80
|
+
wiki:
|
81
|
+
output: true
|
82
|
+
permalink: /:collection/:name
|
83
|
+
```
|
84
|
+
|
85
|
+
`/:collection/:name` means the url to each wiki entry will be `wiki/article_title` without the article file extension.
|
86
|
+
|
87
|
+
However, if you would like to have additional collections akin to the Wikimedia Foundation's other projects - such as Wikisource, Wikispecies, or Wiktionary - then you can specify them in the same format as above, also under the `collections` key:
|
88
|
+
|
89
|
+
```yaml
|
90
|
+
collection_name:
|
91
|
+
output: true
|
92
|
+
permalink: /:collection/:name
|
93
|
+
```
|
94
|
+
|
95
|
+
Make sure to add the corresponding folders within `collections`, including the preceding underscore.
|
96
|
+
|
97
|
+
Add into your `_config.yml`:
|
98
|
+
|
99
|
+
```yaml
|
100
|
+
multi_projects: true
|
101
|
+
```
|
102
|
+
|
103
|
+
This will add links to each different collection on your homepage, and allow you to limit the scope of your searches to a single collection or expand it to cover all of them at once.
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
## Development
|
45
108
|
|
46
109
|
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
47
110
|
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-paperwiki.gemspec` accordingly.
|
48
111
|
|
112
|
+
|
113
|
+
|
49
114
|
## License
|
50
115
|
|
51
116
|
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
52
117
|
|
118
|
+
|
119
|
+
|
53
120
|
## Credits
|
54
121
|
|
55
|
-
This theme uses the fonts [Inter](https://rsms.me/inter/), [Libertinus Serif](https://github.com/alerque/libertinus), and [Liberation Mono](https://fontlibrary.org/en/font/liberation-mono), all of which are released under the SIL Open Font License; and the icon font [RemixIcon](https://remixicon.com/), which is available under the Apache License 2.0. The [example favicon](https://www.flaticon.com/free-icon/
|
122
|
+
This theme uses the fonts [Inter](https://rsms.me/inter/), [Libertinus Serif](https://github.com/alerque/libertinus), and [Liberation Mono](https://fontlibrary.org/en/font/liberation-mono), all of which are released under the SIL Open Font License; and the icon font [RemixIcon](https://remixicon.com/), which is available under the Apache License 2.0. The [example favicon](https://www.flaticon.com/free-icon/toucan_3002355) is by Freepik at Flaticon.
|
56
123
|
|
57
124
|
The search function uses [Lunr.js](https://lunrjs.com/).
|
data/_config.yml
CHANGED
@@ -1,13 +1,55 @@
|
|
1
|
+
# Welcome to Jekyll!
|
2
|
+
#
|
3
|
+
# This config file is meant for settings that affect your whole blog, values
|
4
|
+
# which you are expected to set up once and rarely edit after that. If you find
|
5
|
+
# yourself editing this file very often, consider using Jekyll's data files
|
6
|
+
# feature for the data you need to update frequently.
|
7
|
+
#
|
8
|
+
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
9
|
+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
|
10
|
+
#
|
11
|
+
# If you need help with YAML syntax, here are some quick references for you:
|
12
|
+
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
|
13
|
+
# https://learnxinyminutes.com/docs/yaml/
|
14
|
+
#
|
15
|
+
# Site settings
|
16
|
+
# These are used to personalize your new site. If you look in the HTML files,
|
17
|
+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
|
18
|
+
# You can create any custom variable you would like, and they will be accessible
|
19
|
+
# in the templates via {{ site.myvariable }}.
|
20
|
+
|
1
21
|
# Build settings
|
2
|
-
include: ['_pages'] # forces custom pages to be organized into their own directory
|
3
22
|
|
4
|
-
#
|
23
|
+
# Exclude from processing.
|
24
|
+
# The following items will not be processed, by default.
|
25
|
+
# Any item listed under the `exclude:` key here will be automatically added to
|
26
|
+
# the internal "default list".
|
27
|
+
#
|
28
|
+
# Excluded items can be processed by explicitly listing the directories or
|
29
|
+
# their entries' file path in the `include:` list.
|
30
|
+
#
|
31
|
+
# exclude:
|
32
|
+
# - .sass-cache/
|
33
|
+
# - .jekyll-cache/
|
34
|
+
# - gemfiles/
|
35
|
+
# - Gemfile
|
36
|
+
# - Gemfile.lock
|
37
|
+
# - node_modules/
|
38
|
+
# - vendor/bundle/
|
39
|
+
# - vendor/cache/
|
40
|
+
# - vendor/gems/
|
41
|
+
# - vendor/ruby/
|
42
|
+
|
43
|
+
#
|
5
44
|
collections_dir: collections
|
6
45
|
collections:
|
7
46
|
wiki:
|
8
47
|
output: true
|
9
48
|
permalink: /:collection/:name
|
10
49
|
|
50
|
+
random_redirect:
|
51
|
+
pages: true
|
52
|
+
|
11
53
|
# Front matter defaults, so you don't need to set layouts on every new page.
|
12
54
|
# As long as pages are in the correct folder, they'll automatically have the
|
13
55
|
# correct layout. You can override this via each page's front matter.
|
@@ -17,7 +59,7 @@ defaults:
|
|
17
59
|
path: "" # an empty string here means all files in the project
|
18
60
|
type: "pages"
|
19
61
|
values:
|
20
|
-
layout: "page"
|
62
|
+
layout: "page" # all pages will have the page.html layout unless overridden
|
21
63
|
permalink: "/:path/:basename"
|
22
64
|
-
|
23
65
|
scope:
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<section class="collections-header">
|
2
|
+
|
3
|
+
<section class="collections-stats">
|
4
|
+
{% for item in site.data.projects %}
|
5
|
+
{% if page.url contains item.link %}
|
6
|
+
Total number of {{ item.name | downcase }} entries:
|
7
|
+
{% if item.name == "Wiki" %}
|
8
|
+
{{ site.wiki.size }}
|
9
|
+
{% else %}
|
10
|
+
? for now
|
11
|
+
{% endif %}
|
12
|
+
{% endif %}
|
13
|
+
{% endfor %}
|
14
|
+
</section>
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
<section class="collections-search">
|
19
|
+
|
20
|
+
{% for item in site.data.projects %}
|
21
|
+
{% if page.url contains item.link %}
|
22
|
+
<form action="{{ item.link }}:search" method="GET">
|
23
|
+
<input required type="search" class="collections-searchbar" placeholder="Search all {{ item.name | downcase }} entries" name="q">
|
24
|
+
</form>
|
25
|
+
{% endif %}
|
26
|
+
{% endfor %}
|
27
|
+
|
28
|
+
</section>
|
29
|
+
|
30
|
+
</section>
|
@@ -1,57 +1,15 @@
|
|
1
1
|
<nav class="collections-sidebar">
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
{
|
8
|
-
{
|
9
|
-
|
10
|
-
{
|
11
|
-
|
12
|
-
Works
|
13
|
-
{% endif %}
|
14
|
-
{% if page.url contains "/works:" or page.url contains "/works/" %}
|
15
|
-
< <a href="/works">Back to Works</a>
|
16
|
-
{% endif %}
|
17
|
-
{% if page.url == "/polyglot" %}
|
18
|
-
Polyglot
|
19
|
-
{% endif %}
|
20
|
-
{% if page.url == "/polyglot/grammars:all" or page.url == "/polyglot/dictionary:all" %}
|
21
|
-
< <a href="/polyglot">Back to Polyglot</a>
|
22
|
-
{% endif %}
|
23
|
-
</li>
|
24
|
-
|
25
|
-
{% if page.url contains "/wiki" %}
|
26
|
-
{% for item in site.data.collections_wiki %}
|
27
|
-
<li>
|
28
|
-
<a href="{{ item.link }}">
|
29
|
-
{{ item.name }}
|
30
|
-
</a>
|
31
|
-
</li>
|
32
|
-
{% endfor %}
|
33
|
-
{% endif %}
|
34
|
-
|
35
|
-
{% if page.url contains "/works" %}
|
36
|
-
{% for item in site.data.collections_works %}
|
37
|
-
<li>
|
38
|
-
<a href="{{ item.link }}">
|
39
|
-
{{ item.name }}
|
40
|
-
</a>
|
41
|
-
</li>
|
42
|
-
{% endfor %}
|
3
|
+
{% for item in site.data.projects %}
|
4
|
+
{% if page.url contains item.link %}
|
5
|
+
<ul>
|
6
|
+
<li><a href="{{ item.link }}">Main page</a></li>
|
7
|
+
<li><a href="{{ item.link }}:contents">Contents</a></li>
|
8
|
+
<li><a href="{{ item.link }}:all">All entries</a></li>
|
9
|
+
<li><a href="{{ item.link }}:random">Random article</a></li>
|
10
|
+
<li><a href="{{ item.link }}:about">About</a></li>
|
11
|
+
</ul>
|
43
12
|
{% endif %}
|
44
|
-
|
45
|
-
{% if page.url contains "/polyglot" %}
|
46
|
-
{% for item in site.data.collections_polyglot %}
|
47
|
-
<li>
|
48
|
-
<a href="{{ item.link }}">
|
49
|
-
{{ item.name }}
|
50
|
-
</a>
|
51
|
-
</li>
|
52
|
-
{% endfor %}
|
53
|
-
{% endif %}
|
54
|
-
|
55
|
-
</ul>
|
13
|
+
{% endfor %}
|
56
14
|
|
57
15
|
</nav>
|
@@ -1,4 +1,4 @@
|
|
1
1
|
<footer class="global-footer">
|
2
|
-
<p>This
|
3
|
-
<p>Powered by <a href="https://jekyllrb.com/">Jekyll</a>, with help from <a href="https://remixicon.com/">Remix Icon</a> and <a href="https://lunrjs.com/">Lunr.js</a
|
2
|
+
<p>This site uses the <a href="https://github.com/pomeloshark/jekyll-theme-paperwiki">PaperWiki</a> theme for Jekyll, released under the MIT license.</p>
|
3
|
+
<p>Powered by <a href="https://jekyllrb.com/">Jekyll</a>, with help from <a href="https://remixicon.com/">Remix Icon</a> and <a href="https://lunrjs.com/">Lunr.js</a>.</p>
|
4
4
|
</footer>
|
@@ -17,7 +17,6 @@
|
|
17
17
|
|
18
18
|
<form class="global-search" action="/search" method="GET">
|
19
19
|
<input required type="search" class="global-searchbar" placeholder="Search" name="q">
|
20
|
-
<!---<button type="submit" class="global-search_submit"><i class="ri-search-line"></i></button>--->
|
21
20
|
</form>
|
22
21
|
|
23
22
|
</nav>
|
data/_layouts/collections.html
CHANGED
data/_layouts/entry.html
ADDED
data/_layouts/grammar.html
CHANGED
@@ -1,11 +1,7 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: entry
|
3
3
|
---
|
4
4
|
|
5
|
-
<nav class="entry-index">
|
6
|
-
|
7
|
-
</nav>
|
8
|
-
|
9
5
|
<article class="entry entry-grammar">
|
10
6
|
|
11
7
|
<h1>{{ page.title }}</h1>
|
@@ -13,5 +9,3 @@ layout: default
|
|
13
9
|
{{ content }}
|
14
10
|
|
15
11
|
</article>
|
16
|
-
|
17
|
-
<script src="/assets/js/toc.js"></script>
|
@@ -0,0 +1,63 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="launchpad">
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
<section class="launchpad-search">
|
10
|
+
|
11
|
+
<form action="/search" method="GET">
|
12
|
+
|
13
|
+
<label for="input__text">What do you want to know?</label><br>
|
14
|
+
<input id="input__text" name="q" class="launchpad-searchbar" required type="search" placeholder="Search">
|
15
|
+
|
16
|
+
<input type="submit" class="launchpad-search_submit" value="Go">
|
17
|
+
|
18
|
+
</form>
|
19
|
+
|
20
|
+
</section>
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
<section class="launchpad-projects">
|
25
|
+
|
26
|
+
{% if site.multi_projects %}
|
27
|
+
|
28
|
+
{% for item in site.data.projects %}
|
29
|
+
|
30
|
+
<a href="{{ item.link }}" class="launchpad-card">
|
31
|
+
<i class="{{ item.icon }} project-icon"></i>
|
32
|
+
<header>{{ item.name }}</header>
|
33
|
+
{{ item.desc }}
|
34
|
+
</a>
|
35
|
+
|
36
|
+
{% endfor %}
|
37
|
+
|
38
|
+
{% else %}
|
39
|
+
|
40
|
+
<a href="/wiki" class="launchpad-card launchpad-card_wiki">
|
41
|
+
<i class="ri-footprint-line project-icon"></i>
|
42
|
+
<header>Explore the wiki!</header>
|
43
|
+
</a>
|
44
|
+
|
45
|
+
<a href="/wiki:contents" class="launchpad-card">
|
46
|
+
<i class="ri-file-list-2-line project-icon"></i>
|
47
|
+
<header>Contents</header>
|
48
|
+
Navigate the wiki
|
49
|
+
</a>
|
50
|
+
|
51
|
+
<a href="/wiki:random" class="launchpad-card">
|
52
|
+
<i class="ri-question-line project-icon"></i>
|
53
|
+
<header>Random</header>
|
54
|
+
Visit a random article
|
55
|
+
</a>
|
56
|
+
|
57
|
+
{% endif %}
|
58
|
+
|
59
|
+
</section>
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
</div>
|
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -1,26 +1,31 @@
|
|
1
1
|
---
|
2
|
-
layout: collections
|
2
|
+
layout: collections
|
3
3
|
---
|
4
4
|
|
5
|
+
{% include collections_header.html %}
|
6
|
+
|
7
|
+
|
5
8
|
<section class="reference-desk">
|
6
9
|
|
7
|
-
{% if page.url == "/wiki" %}
|
8
10
|
<header class="collections-portals">
|
9
|
-
<h1 class="collections-portals_header">Pick a topic</h1>
|
10
11
|
<nav class="collections-portals_grid">
|
11
12
|
|
12
|
-
{% for item in site.data.
|
13
|
-
|
14
|
-
|
15
|
-
<
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
13
|
+
{% for item in site.data.projects %}
|
14
|
+
{% if page.url contains item.link %}
|
15
|
+
{% for item in item.portals %}
|
16
|
+
<a href="{{ item.link }}" class="collections-portal_card">
|
17
|
+
<header>
|
18
|
+
<i class="{{ item.icon }} portal-icon"></i>
|
19
|
+
{{ item.portal }}
|
20
|
+
</header>
|
21
|
+
{{ item.summary }}
|
22
|
+
</a>
|
23
|
+
{% endfor %}
|
24
|
+
{% endif %}
|
20
25
|
{% endfor %}
|
26
|
+
|
21
27
|
</nav>
|
22
28
|
</header>
|
23
|
-
{% endif %}
|
24
29
|
|
25
30
|
<section class="collections-wrapper">
|
26
31
|
|
data/_layouts/wiki.html
CHANGED
@@ -1,51 +1,81 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: entry
|
3
3
|
---
|
4
4
|
|
5
|
-
<
|
5
|
+
<article class="entry entry-wiki">
|
6
6
|
|
7
|
-
</nav>
|
8
7
|
|
9
|
-
<article class="entry entry-wiki">
|
10
8
|
|
11
9
|
<h1>
|
12
10
|
{{ page.title }}
|
13
11
|
</h1>
|
14
12
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
13
|
+
|
14
|
+
|
15
|
+
{% if page.other_projects %}
|
16
|
+
|
17
|
+
<section class="entry-other_projects">
|
18
|
+
View in other collections:
|
21
19
|
<ul>
|
22
|
-
|
23
|
-
{% for item in page.categories %}
|
20
|
+
{% for item in page.other_projects %}
|
24
21
|
<li>
|
25
|
-
<a href="/
|
26
|
-
{{ item }}
|
27
|
-
</a>
|
22
|
+
<a href="/{{ item }}{{ page.url | remove_first: "/wiki" }}">{{ item | capitalize }}</a>
|
28
23
|
</li>
|
29
24
|
{% endfor %}
|
30
25
|
</ul>
|
31
|
-
|
32
|
-
|
26
|
+
</section>
|
27
|
+
|
28
|
+
{% endif %}
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
<section class="entry-tags">
|
33
|
+
|
34
|
+
<div class="entry-subhead_pair">
|
35
|
+
|
36
|
+
<span class="entry-subhead_key">Portals:</span>
|
37
|
+
<span>
|
38
|
+
<a href="/wiki/portal:{{ page.portal }} class="entry-subhead_value"">
|
39
|
+
{{ page.portal }}
|
40
|
+
</a>
|
41
|
+
</span>
|
42
|
+
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<div class="entry-subhead_pair">
|
46
|
+
|
47
|
+
<span class="entry-subhead_key">Categories:</span>
|
48
|
+
<span>
|
49
|
+
{% for item in page.categories %}
|
50
|
+
<a href="/wiki/category:{{ item | slugify }}" class="entry-subhead_value">
|
51
|
+
{{ item }}
|
52
|
+
</a>
|
53
|
+
{% endfor %}
|
54
|
+
</span>
|
55
|
+
|
56
|
+
</div>
|
57
|
+
|
58
|
+
<div class="entry-subhead_pair">
|
59
|
+
|
60
|
+
<span class="entry-subhead_key">Tags:</span>
|
61
|
+
<span>
|
33
62
|
{% for item in page.tags %}
|
34
|
-
<
|
35
|
-
|
36
|
-
|
37
|
-
</a>
|
38
|
-
</li>
|
63
|
+
<a href="/wiki/tag:{{ item }}" class="entry-subhead_value">
|
64
|
+
{{ item }}
|
65
|
+
</a>
|
39
66
|
{% endfor %}
|
40
|
-
|
41
|
-
|
42
|
-
</
|
67
|
+
</span>
|
68
|
+
|
69
|
+
</div>
|
70
|
+
|
43
71
|
</section>
|
44
72
|
|
45
73
|
{{ content }}
|
46
74
|
|
47
75
|
</article>
|
48
76
|
|
77
|
+
|
78
|
+
|
49
79
|
{% if page.quickstats %}
|
50
80
|
|
51
81
|
<section class="entry-quickstats">
|
@@ -92,5 +122,3 @@ layout: default
|
|
92
122
|
</section>
|
93
123
|
|
94
124
|
{% endif %}
|
95
|
-
|
96
|
-
<script src="/assets/js/toc.js"></script>
|
data/_layouts/work.html
CHANGED
@@ -1,11 +1,7 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: entry
|
3
3
|
---
|
4
4
|
|
5
|
-
<nav class="entry-index">
|
6
|
-
|
7
|
-
</nav>
|
8
|
-
|
9
5
|
<article class="entry entry-work">
|
10
6
|
|
11
7
|
<h1>{{ page.title }}</h1>
|
@@ -13,5 +9,3 @@ layout: default
|
|
13
9
|
{{ content }}
|
14
10
|
|
15
11
|
</article>
|
16
|
-
|
17
|
-
<script src="/assets/js/toc.js"></script>
|