termina-plex 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +51 -0
- data/_includes/category-archive.html +15 -0
- data/_includes/collect-categories.html +18 -0
- data/_includes/collect-tags.html +18 -0
- data/_includes/custom-head.html +17 -0
- data/_includes/footer.html +6 -0
- data/_includes/google-analytics.html +9 -0
- data/_includes/head.html +13 -0
- data/_includes/header.html +68 -0
- data/_includes/tag-archive.html +15 -0
- data/_includes/theme-toggle.html +25 -0
- data/_layouts/base.html +20 -0
- data/_layouts/category.html +25 -0
- data/_layouts/home.html +70 -0
- data/_layouts/index.html +41 -0
- data/_layouts/meta.html +15 -0
- data/_layouts/page.html +13 -0
- data/_layouts/post.html +65 -0
- data/_layouts/tag.html +25 -0
- data/_sass/termina-plex/highlight.scss +64 -0
- data/_sass/termina-plex/ibm-plex.scss +124 -0
- data/_sass/termina-plex/layout/core.scss +62 -0
- data/_sass/termina-plex/layout/footer.scss +13 -0
- data/_sass/termina-plex/layout/header.scss +155 -0
- data/_sass/termina-plex/layout/posts.scss +70 -0
- data/_sass/termina-plex/layout/social.scss +22 -0
- data/_sass/termina-plex/layout/toggle.scss +71 -0
- data/_sass/termina-plex/main.scss +34 -0
- data/_sass/termina-plex/pages/base.scss +79 -0
- data/_sass/termina-plex/pages/index.scss +12 -0
- data/_sass/termina-plex/pages/list.scss +7 -0
- data/_sass/termina-plex/pages/single.scss +76 -0
- data/_sass/termina-plex/themes.scss +304 -0
- data/assets/css/style.scss +4 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Bold.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-BoldItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-BoldItalic.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-BoldItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ExtraLight.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ExtraLight.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ExtraLight.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ExtraLightItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ExtraLightItalic.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ExtraLightItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Italic.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Italic.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Light.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Light.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Light.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-LightItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-LightItalic.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-LightItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Medium.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Medium.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Medium.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-MediumItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-MediumItalic.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-MediumItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Regular.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBold.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBold.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBold.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBoldItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBoldItalic.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-SemiBoldItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Text.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Text.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Text.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-TextItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-TextItalic.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-TextItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Thin.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Thin.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-Thin.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ThinItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ThinItalic.woff +0 -0
- data/assets/fonts/ibm-plex-mono/IBMPlexMono-ThinItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-mono/license.txt +92 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Bold.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Bold.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Bold.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-BoldItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-BoldItalic.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-BoldItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ExtraLight.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ExtraLight.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ExtraLight.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ExtraLightItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ExtraLightItalic.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ExtraLightItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Italic.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Italic.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Italic.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Light.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Light.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Light.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-LightItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-LightItalic.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-LightItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Medium.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Medium.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Medium.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-MediumItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-MediumItalic.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-MediumItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Regular.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Regular.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Regular.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-SemiBold.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-SemiBold.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-SemiBold.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-SemiBoldItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-SemiBoldItalic.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-SemiBoldItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Text.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Text.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Text.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-TextItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-TextItalic.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-TextItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Thin.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Thin.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-Thin.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ThinItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ThinItalic.woff +0 -0
- data/assets/fonts/ibm-plex-sans/IBMPlexSans-ThinItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-sans/license.txt +92 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Bold.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Bold.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Bold.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-BoldItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-BoldItalic.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-BoldItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ExtraLight.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ExtraLight.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ExtraLight.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ExtraLightItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ExtraLightItalic.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ExtraLightItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Italic.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Italic.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Italic.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Light.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Light.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Light.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-LightItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-LightItalic.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-LightItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Medium.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Medium.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Medium.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-MediumItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-MediumItalic.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-MediumItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Regular.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Regular.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Regular.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-SemiBold.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-SemiBold.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-SemiBold.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-SemiBoldItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-SemiBoldItalic.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-SemiBoldItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Text.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Text.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Text.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-TextItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-TextItalic.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-TextItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Thin.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Thin.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-Thin.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ThinItalic.ttf +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ThinItalic.woff +0 -0
- data/assets/fonts/ibm-plex-serif/IBMPlexSerif-ThinItalic.woff2 +0 -0
- data/assets/fonts/ibm-plex-serif/license.txt +92 -0
- data/assets/js/theme.js +60 -0
- metadata +312 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bdadc75877d3362f89cde88c7074b354554e1185aebe48854d2f81ebb4436470
|
4
|
+
data.tar.gz: a4b6569b6d7800bf5c62a34870b7cbc1596c8340ef3186d76c84ba7cfe1e9385
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2b24accd6886ff0d8865255c9a2b1b2258116cbf7b1fb46b429aec84ea3fe311d5909e07b4a50bbd09fd8e79093a76f2e2b99943a8808e015b5d5d1a4ad9ac35
|
7
|
+
data.tar.gz: ce338a38acbe50d84d220e770d8c5ef22105fafac847aa2957903b980d4db15d6b7b4265b0499d66f178091214ae5aa3f2dd6cc3fe3e49916d5e288c3e6fc086
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016-present Linh Pham, Matúš Námešný, Parker Moore and the minima contributors
|
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.
|
data/README.md
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
# Termina Plex
|
2
|
+
|
3
|
+
Termina Plex is a [Jekyll](https://jekyllrb.com) theme that is a port of the [Nightfall](https://github.com/LordMathis/hugo-theme-nightfall) theme for [Hugo](https://gohugo.io), developed by [Matúš Námešný](https://namesny.com). This theme uses some of the foundational code provided by the [Minima](https://jekyll.github.io/minima/) theme for Jekyll.
|
4
|
+
|
5
|
+
The theme is designed with a minimal default landing page and a separate page for listing available blog posts. It also features the [IBM Plex](https://ibm.com/plex) Sans and IBM Plex Mono typefaces throughout the design and includes the necessary web font files in the theme bundle.
|
6
|
+
|
7
|
+
By the default, the theme respects the `prefers-color-scheme` value provided by the browser. A color scheme toggle is included in the header that allows the viewer to switch between light and dark mode. Once toggled, the value is stored in the local storage using [Web Storage API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API).
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your Jekyll site's Gemfile:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem "termina-plex", git: "https://github.com/questionlp/termina-plex.git"
|
15
|
+
```
|
16
|
+
|
17
|
+
And then execute:
|
18
|
+
|
19
|
+
```bash
|
20
|
+
bundle
|
21
|
+
```
|
22
|
+
|
23
|
+
## Site Structure
|
24
|
+
|
25
|
+
The main index page, `index.html` is designed to be a simple landing page with the name of the site author and a list of social links. The file uses the `index` layout.
|
26
|
+
|
27
|
+
The more traditional blog post listing page is designed to be hosted under `/blog` with the `blog/index.html` using the more traditional `home` layout. The layout supports pagination, by way of the jekyll-paginate plugin, and can be configured with the `paginate` and `paginate_path` settings in `_config.yml`.
|
28
|
+
|
29
|
+
For pagination to work with the post listing page hosted under `/blog`, the `paginate_path` setting should start with `/blog/`.
|
30
|
+
|
31
|
+
If you want to change the path for the post listing page, the `blog_path` setting can be set to the preferred path. The `paginate_path` setting should also be updated to reflect the correct path.
|
32
|
+
|
33
|
+
## Theme Configuration
|
34
|
+
|
35
|
+
Theme specific configuration is done within the `termina-plex` section of the `_config.yaml` file.
|
36
|
+
|
37
|
+
The date format used by the theme is defined by the `termina-plex.date_format` setting. The value needs to be in [valid `strftime` format](https://docs.ruby-lang.org/en/master/strftime_formatting_rdoc.html). The theme defaults to `%d %b %Y`.
|
38
|
+
|
39
|
+
The title displayed in the header of the page with display the site title, defined by the `site.title` configuration value, if neither the `termina-plex.username` or the `termina-plex.hostname` settings are configured. When either of the settings are configured, a Bash-like prompt is built using the configured values.
|
40
|
+
|
41
|
+
The links displayed in the header of the page are defined in the `termina-plex.header_links` setting. Each link is defined as an object with a `name` and a `url` key. The value of the `name` key will be transformed to lowercase via CSS.
|
42
|
+
|
43
|
+
The social links displayed under the site title in the main section of the landing page are defined by the `termina-plex.social_links` setting. Each link is defined as an object with a `name` and `url` key. An optional `rel` key is available if link-based validation is required by applications like Mastodon. As with the header link names, the link names will also be transformed to lowercase via CSS.
|
44
|
+
|
45
|
+
## License
|
46
|
+
|
47
|
+
The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
48
|
+
|
49
|
+
Both the original Nightfall and the Minina themes are licensed under the terms of the MIT License.
|
50
|
+
|
51
|
+
The included IBM Plex font files are licensed under the terms of the [SIL Open Font License, Version 1.1](https://github.com/IBM/plex/blob/master/LICENSE.txt).
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{% capture tempcats %}
|
2
|
+
{% for category in site.categories %}
|
3
|
+
{{ category[1].size | plus: 1000 }}#{{ category[0] }}#{{ category[1].size }}
|
4
|
+
{% endfor %}
|
5
|
+
{% endcapture %}
|
6
|
+
{% assign sortedtempcats = tempcats | split:" " | sort | reverse %}
|
7
|
+
{% for tempcat in sortedtempcats %}
|
8
|
+
{% assign catitems = tempcat | split: '#' %}
|
9
|
+
{% capture catname %}{{ catitems[1] }}{% endcapture %}
|
10
|
+
<div class="metaCategory">
|
11
|
+
<h2 class="postTitle">
|
12
|
+
<a href="/category/{{ catname }}">{{ catname }}</a>
|
13
|
+
</h2>
|
14
|
+
</div>
|
15
|
+
{% endfor %}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{% assign rawcats = "" %}
|
2
|
+
{% for post in site.posts %}
|
3
|
+
{% assign tcats = post.categories | join:'|' | append:'|' %}
|
4
|
+
{% assign rawcats = rawcats | append:tcats %}
|
5
|
+
{% endfor %}
|
6
|
+
{% assign rawcats = rawcats | split:'|' | sort %}
|
7
|
+
|
8
|
+
{% assign site.categories = "" %}
|
9
|
+
{% for category in rawcats %}
|
10
|
+
{% if category != "" %}
|
11
|
+
{% if categories == "" %}
|
12
|
+
{% assign categories = category | split:'|' %}
|
13
|
+
{% endif %}
|
14
|
+
{% unless categories contains category %}
|
15
|
+
{% assign categories = categories | join:'|' | append:'|' | append:category | split:'|' %}
|
16
|
+
{% endunless %}
|
17
|
+
{% endif %}
|
18
|
+
{% endfor %}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{% assign rawtags = "" %}
|
2
|
+
{% for post in site.posts %}
|
3
|
+
{% assign ttags = post.tags | join:'|' | append:'|' %}
|
4
|
+
{% assign rawtags = rawtags | append:ttags %}
|
5
|
+
{% endfor %}
|
6
|
+
{% assign rawtags = rawtags | split:'|' | sort %}
|
7
|
+
|
8
|
+
{% assign site.tags = "" %}
|
9
|
+
{% for tag in rawtags %}
|
10
|
+
{% if tag != "" %}
|
11
|
+
{% if tags == "" %}
|
12
|
+
{% assign tags = tag | split:'|' %}
|
13
|
+
{% endif %}
|
14
|
+
{% unless tags contains tag %}
|
15
|
+
{% assign tags = tags | join:'|' | append:'|' | append:tag | split:'|' %}
|
16
|
+
{% endunless %}
|
17
|
+
{% endif %}
|
18
|
+
{% endfor %}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{%- if page.title -%}
|
2
|
+
<title>{{ site.title }} | {{ page.title }}</title>
|
3
|
+
{%- else -%}
|
4
|
+
<title>{{ site.title }}</title>
|
5
|
+
{%- endif -%}
|
6
|
+
|
7
|
+
{%- if site.favicon -%}
|
8
|
+
<link rel="icon" href="{{ site.favicon | relative_url }}">
|
9
|
+
{%- endif -%}
|
10
|
+
|
11
|
+
{%- if site.favicon_svg -%}
|
12
|
+
<link rel="icon" type="image/svg+xml" href="{{ site.favicon_svg | relative_url }}">
|
13
|
+
{%- endif -%}
|
14
|
+
|
15
|
+
{%- if site.apple_touch_icon -%}
|
16
|
+
<link rel="apple-touch-icon" href="{{ site.apple_touch_icon | relative_url }}">
|
17
|
+
{%- endif -%}
|
@@ -0,0 +1,9 @@
|
|
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(){window.dataLayer.push(arguments);}
|
6
|
+
gtag('js', new Date());
|
7
|
+
|
8
|
+
gtag('config', '{{ site.google_analytics }}');
|
9
|
+
</script>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,13 @@
|
|
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 title=false -%}
|
6
|
+
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
|
7
|
+
{%- feed_meta -%}
|
8
|
+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
9
|
+
{%- include google-analytics.html -%}
|
10
|
+
{%- endif -%}
|
11
|
+
|
12
|
+
{%- include custom-head.html -%}
|
13
|
+
</head>
|
@@ -0,0 +1,68 @@
|
|
1
|
+
<header class="headerWrapper">
|
2
|
+
<div class="header">
|
3
|
+
<div>
|
4
|
+
<a class="terminal" href="{{ '/' | relative_url }}">
|
5
|
+
{%- if site.termina-plex.username and site.termina-plex.hostname -%}
|
6
|
+
<span class="terminalUser">{{ site.termina-plex.username }}</span><span class="terminalAt">@</span><span class="terminalHost">{{ site.termina-plex.hostname }}</span>:<span class="terminalPath">~</span>$</span>
|
7
|
+
{%- elsif site.termina-plex.username -%}
|
8
|
+
<span class="terminalUser">{{ site.termina-plex.username}}</span>:<span class="terminalPath">~</span>$</span>
|
9
|
+
{%- elsif site.termina-plex.hostname -%}
|
10
|
+
<span class="terminalHost">{{ site.termina-plex.hostname }}</span>:<span class="terminalPath">~</span>$</span>
|
11
|
+
{%- else %}
|
12
|
+
<span>{{ site.title }}</span>
|
13
|
+
{%- endif -%}
|
14
|
+
</a>
|
15
|
+
</div>
|
16
|
+
<input class="side-menu" type="checkbox" id="side-menu">
|
17
|
+
<label class="hamb" for="side-menu"><span class="hamb-line"></span><span class="hamb-line-text visually-hidden">Menu</span></label>
|
18
|
+
<nav class="headerLinks">
|
19
|
+
<ul>
|
20
|
+
{%- for link in site.termina-plex.header_links %}
|
21
|
+
<li>
|
22
|
+
<a href="{{ link.url | relative_url }}" title="{{ link.name }}" >
|
23
|
+
~/{{ link.name }}
|
24
|
+
</a>
|
25
|
+
</li>
|
26
|
+
{%- endfor -%}
|
27
|
+
<li>
|
28
|
+
{%- include theme-toggle.html -%}
|
29
|
+
</li>
|
30
|
+
</ul>
|
31
|
+
</nav>
|
32
|
+
</div>
|
33
|
+
</header>
|
34
|
+
|
35
|
+
|
36
|
+
{% comment %}
|
37
|
+
<header class="site-header">
|
38
|
+
|
39
|
+
<div class="wrapper">
|
40
|
+
{%- assign default_paths = site.pages | map: "path" -%}
|
41
|
+
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
42
|
+
{%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
|
43
|
+
<a class="site-title" rel="author" href="{{ '/' | relative_url }}">{{ site.title | escape }}</a>
|
44
|
+
|
45
|
+
{%- if titles_size > 0 -%}
|
46
|
+
<nav class="site-nav">
|
47
|
+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
48
|
+
<label for="nav-trigger">
|
49
|
+
<span class="menu-icon">
|
50
|
+
<svg viewBox="0 0 18 15" width="18px" height="15px">
|
51
|
+
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
|
52
|
+
</svg>
|
53
|
+
</span>
|
54
|
+
</label>
|
55
|
+
|
56
|
+
<div class="trigger">
|
57
|
+
{%- for path in page_paths -%}
|
58
|
+
{%- assign my_page = site.pages | where: "path", path | first -%}
|
59
|
+
{%- if my_page.title -%}
|
60
|
+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
61
|
+
{%- endif -%}
|
62
|
+
{%- endfor -%}
|
63
|
+
</div>
|
64
|
+
</nav>
|
65
|
+
{%- endif -%}
|
66
|
+
</div>
|
67
|
+
</header>
|
68
|
+
{% endcomment %}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{% capture temptags %}
|
2
|
+
{% for tag in site.tags %}
|
3
|
+
{{ tag[1].size | plus: 1000 }}#{{ tag[0] }}#{{ tag[1].size }}
|
4
|
+
{% endfor %}
|
5
|
+
{% endcapture %}
|
6
|
+
{% assign sortedtemptags = temptags | split:" " | sort | reverse %}
|
7
|
+
{% for temptag in sortedtemptags %}
|
8
|
+
{% assign tagitems = temptag | split: '#' %}
|
9
|
+
{% capture tagname %}{{ tagitems[1] }}{% endcapture %}
|
10
|
+
<div class="metaTag">
|
11
|
+
<h2 class="postTitle">
|
12
|
+
<a href="/tag/{{ tagname }}">{{ tagname }}</a>
|
13
|
+
</h2>
|
14
|
+
</div>
|
15
|
+
{% endfor %}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<div id="theme-toggle">
|
2
|
+
<div data-theme-controls>
|
3
|
+
<div class="color-scheme-status visually-hidden" role="status"></div>
|
4
|
+
<button class="color-scheme-toggle" title="Light and dark mode toggle">
|
5
|
+
<svg class="icon light" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 256 256">
|
6
|
+
<rect width="256" height="256" fill="none"></rect>
|
7
|
+
<line x1="92.8" y1="59" x2="85.1" y2="40.5" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="22"></line>
|
8
|
+
<line x1="43" y1="108.8" x2="24.5" y2="101.1" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="22"></line>
|
9
|
+
<line x1="213" y1="108.8" x2="231.5" y2="101.1" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="22"></line>
|
10
|
+
<line x1="163.2" y1="59" x2="170.9" y2="40.5" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="22"></line>
|
11
|
+
<line x1="240" y1="160" x2="16" y2="160" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="22"></line>
|
12
|
+
<line x1="208" y1="200" x2="48" y2="200" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="22"></line>
|
13
|
+
<path d="M70.2,160a60,60,0,1,1,115.6,0" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="22"></path>
|
14
|
+
</svg>
|
15
|
+
<svg class="icon dark" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 256 256">
|
16
|
+
<rect width="256" height="256" fill="none"></rect>
|
17
|
+
<line x1="216" y1="112" x2="216" y2="64" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="22"></line>
|
18
|
+
<line x1="240" y1="88" x2="192" y2="88" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="22"></line>
|
19
|
+
<line x1="168" y1="24" x2="168" y2="56" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="22"></line>
|
20
|
+
<line x1="184" y1="40" x2="152" y2="40" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="22"></line>
|
21
|
+
<path d="M216.7,152.6A91.9,91.9,0,0,1,103.4,39.3h0A92,92,0,1,0,216.7,152.6Z" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="22"></path>
|
22
|
+
</svg>
|
23
|
+
</button>
|
24
|
+
</div>
|
25
|
+
</div>
|
data/_layouts/base.html
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
|
3
|
+
{%- include head.html -%}
|
4
|
+
|
5
|
+
<body>
|
6
|
+
<div class="flexWrapper">
|
7
|
+
{%- include header.html -%}
|
8
|
+
|
9
|
+
<div class="content">
|
10
|
+
<main class="main" aria-label="Content">
|
11
|
+
{{- content -}}
|
12
|
+
</main>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
{%- include footer.html -%}
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<script src="{{ '/assets/js/theme.js' | relative_url }}"></script>
|
19
|
+
</body>
|
20
|
+
</html>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
layout: base
|
3
|
+
---
|
4
|
+
{%- assign date_format = site.termina-plex.date_format | default: "%d %b %Y" -%}
|
5
|
+
|
6
|
+
<article class="postWrapper">
|
7
|
+
<header class="postHeader">
|
8
|
+
<h1>Category: {{ page.category }}</h1>
|
9
|
+
</header>
|
10
|
+
|
11
|
+
<div class="postsEntries">
|
12
|
+
{%- if site.categories[page.category] -%}
|
13
|
+
{%- for post in site.categories[page.category] %}
|
14
|
+
<div class="postInfo">
|
15
|
+
<h2 class="postTitle">
|
16
|
+
<a class="postListLink" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
17
|
+
</h2>
|
18
|
+
{%- if post.date -%}
|
19
|
+
<time class="postDate" datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date: date_format }}</time>
|
20
|
+
{%- endif -%}
|
21
|
+
</div>
|
22
|
+
{%- endfor -%}
|
23
|
+
{%- endif -%}
|
24
|
+
</div>
|
25
|
+
</article>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
---
|
2
|
+
layout: base
|
3
|
+
---
|
4
|
+
{%- if site.paginate -%}
|
5
|
+
{%- assign posts = paginator.posts -%}
|
6
|
+
{%- else -%}
|
7
|
+
{%- assign posts = site.posts -%}
|
8
|
+
{% endif %}
|
9
|
+
{%- assign date_format = site.termina-plex.date_format | default: "%d %b %Y" -%}
|
10
|
+
{%- assign blog_path = site.blog_path | default: "/blog" %}
|
11
|
+
|
12
|
+
<article class="postWrapper">
|
13
|
+
<header class="postHeader">
|
14
|
+
<h1>Blog Posts</h1>
|
15
|
+
</header>
|
16
|
+
|
17
|
+
{%- if posts.size > 0 -%}
|
18
|
+
<div class="postsEntries">
|
19
|
+
{%- for post in posts -%}
|
20
|
+
<div class="postInfo">
|
21
|
+
<h2 class="postTitle">
|
22
|
+
<a class="postListLink" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
23
|
+
</h2>
|
24
|
+
{%- if post.date -%}
|
25
|
+
<time class="postDate" datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date: date_format }}</time>
|
26
|
+
{%- endif -%}
|
27
|
+
{%- if site.show_excerpts -%}
|
28
|
+
<div class="postExcerpt">
|
29
|
+
{{ post.excerpt }}
|
30
|
+
</div>
|
31
|
+
{%- if post.content.size > post.excerpt.size -%}
|
32
|
+
<div>
|
33
|
+
<a href="{{ post.url | relative_url }}">(Read more...)</a>
|
34
|
+
</div>
|
35
|
+
{%- endif -%}
|
36
|
+
{%- endif -%}
|
37
|
+
</div>
|
38
|
+
{%- endfor -%}
|
39
|
+
</div>
|
40
|
+
{%- endif -%}
|
41
|
+
</article>
|
42
|
+
<div class="clear"></div>
|
43
|
+
|
44
|
+
{% if site.paginate and paginator.total_pages > 1 %}
|
45
|
+
<div class="pagination">
|
46
|
+
<ul class="paginationPages">
|
47
|
+
{% for page in (1..paginator.total_pages) %}
|
48
|
+
{% if page == paginator.page %}
|
49
|
+
<li>
|
50
|
+
<div>
|
51
|
+
<span>{{ page }}</span>
|
52
|
+
</div>
|
53
|
+
</li>
|
54
|
+
{% elsif page == 1 %}
|
55
|
+
<li>
|
56
|
+
<div class="pageLinkActive">
|
57
|
+
<a href="{{ blog_path | relative_url }}">{{ page }}</a>
|
58
|
+
</div>
|
59
|
+
</li>
|
60
|
+
{% else %}
|
61
|
+
<li>
|
62
|
+
<div class="pageLinkActive">
|
63
|
+
<a href="{{ site.paginate_path | relative_url | replace: ':num', page }}">{{ page }}</a>
|
64
|
+
</div>
|
65
|
+
</li>
|
66
|
+
{% endif %}
|
67
|
+
{% endfor %}
|
68
|
+
</ul>
|
69
|
+
</div>
|
70
|
+
{%- endif %}
|
data/_layouts/index.html
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
|
3
|
+
{%- include head.html -%}
|
4
|
+
|
5
|
+
<body>
|
6
|
+
<div class="flexWrapper">
|
7
|
+
{%- include header.html -%}
|
8
|
+
|
9
|
+
<div class="content vertical">
|
10
|
+
<main class="main">
|
11
|
+
<div class="indexWrapper">
|
12
|
+
<div>
|
13
|
+
<h1 class="indexHeader">{{ site.author.name }}</h1>
|
14
|
+
</div>
|
15
|
+
{%- if site.termina-plex.social_links -%}
|
16
|
+
<div class="socialNavbar">
|
17
|
+
<ul>
|
18
|
+
{%- for link in site.termina-plex.social_links -%}
|
19
|
+
{%- if link.rel -%}
|
20
|
+
<li>
|
21
|
+
<a href="{{ link.url }}" rel="{{ link.rel }}">{{ link.name }}</a>
|
22
|
+
</li>
|
23
|
+
{%- else -%}
|
24
|
+
<li>
|
25
|
+
<a href="{{ link.url }}">{{ link.name }}</a>
|
26
|
+
</li>
|
27
|
+
{%- endif -%}
|
28
|
+
{%- endfor -%}
|
29
|
+
</ul>
|
30
|
+
</div>
|
31
|
+
{%- endif -%}
|
32
|
+
</div>
|
33
|
+
</main>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
{%- include footer.html -%}
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<script src="{{ '/assets/js/theme.js' | relative_url }}"></script>
|
40
|
+
</body>
|
41
|
+
</html>
|
data/_layouts/meta.html
ADDED
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
layout: base
|
3
|
+
---
|
4
|
+
{%- assign date_format = site.termina-plex.date_format | default: "%d %b %Y" -%}
|
5
|
+
|
6
|
+
<article class="postWrapper">
|
7
|
+
<header class="postHeader">
|
8
|
+
<h1>{{ page.title | escape }}</h1>
|
9
|
+
</header>
|
10
|
+
|
11
|
+
<section class="postMetadata">
|
12
|
+
<dl>
|
13
|
+
{%- if page.author and page.author.size > 0 -%}
|
14
|
+
<dt>authors</dt>
|
15
|
+
<dd>
|
16
|
+
{{- page.author | join: ", " -}}
|
17
|
+
</dd>
|
18
|
+
{%- endif -%}
|
19
|
+
{%- if page.date -%}
|
20
|
+
<dt>published</dt>
|
21
|
+
<dd>
|
22
|
+
<time class="postDate" datetime="{{ page.date | date: '%Y-%m-%d' }}">{{ page.date | date: date_format }}</time>
|
23
|
+
</dd>
|
24
|
+
{%- endif -%}
|
25
|
+
{%- if page.categories and page.categories.size > 0 -%}
|
26
|
+
<dt>categories</dt>
|
27
|
+
<dd>
|
28
|
+
{%- for category in page.categories -%}
|
29
|
+
{%- capture category_name -%}{{ category }}{%- endcapture -%}
|
30
|
+
<a href="{{ site.baseurl | append:'/category/' | append:category_name }}">#{{ category }}</a>
|
31
|
+
{%- endfor -%}
|
32
|
+
</dd>
|
33
|
+
{%- endif -%}
|
34
|
+
{%- if page.tags and page.tags.size > 0 -%}
|
35
|
+
<dt>tags</dt>
|
36
|
+
<dd>
|
37
|
+
{%- for tag in page.tags -%}
|
38
|
+
{%- capture tag_name -%}{{ tag }}{%- endcapture -%}
|
39
|
+
<a href="{{ site.baseurl | append:'/tag/' | append:tag_name }}">#{{ tag }}</a>
|
40
|
+
{%- endfor -%}
|
41
|
+
</dd>
|
42
|
+
{%- endif -%}
|
43
|
+
</dl>
|
44
|
+
</section>
|
45
|
+
|
46
|
+
<div>
|
47
|
+
{{ content }}
|
48
|
+
</div>
|
49
|
+
</article>
|
50
|
+
|
51
|
+
{%- if page.previous or page.next -%}
|
52
|
+
<div class="pageNavFooter">
|
53
|
+
{%- if page.previous -%}
|
54
|
+
<div class="pagePrevious">
|
55
|
+
<a href="{{ page.previous.url | relative_url }}">{{ page.previous.title }}</a>
|
56
|
+
</div>
|
57
|
+
{%- endif -%}
|
58
|
+
|
59
|
+
{%- if page.next -%}
|
60
|
+
<div class="pageNext">
|
61
|
+
<a href="{{ page.next.url | relative_url }}">{{ page.next.title }}</a>
|
62
|
+
</div>
|
63
|
+
{%- endif -%}
|
64
|
+
</div>
|
65
|
+
{%- endif -%}
|
data/_layouts/tag.html
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
layout: base
|
3
|
+
---
|
4
|
+
{%- assign date_format = site.termina-plex.date_format | default: "%d %b %Y" -%}
|
5
|
+
|
6
|
+
<article class="postWrapper">
|
7
|
+
<header class="postHeader">
|
8
|
+
<h1>Tag: {{ page.tag }}</h1>
|
9
|
+
</header>
|
10
|
+
|
11
|
+
<div class="postsEntries">
|
12
|
+
{%- if site.tags[page.tag] -%}
|
13
|
+
{%- for post in site.tags[page.tag] %}
|
14
|
+
<div class="postInfo">
|
15
|
+
<h2 class="postTitle">
|
16
|
+
<a class="postListLink" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
17
|
+
</h2>
|
18
|
+
{%- if post.date -%}
|
19
|
+
<time class="postDate" datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date: date_format }}</time>
|
20
|
+
{%- endif -%}
|
21
|
+
</div>
|
22
|
+
{%- endfor -%}
|
23
|
+
{%- endif -%}
|
24
|
+
</div>
|
25
|
+
</article>
|
@@ -0,0 +1,64 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
// Code Highlighting
|
4
|
+
.highlight {
|
5
|
+
.c { color: var(--highlight-c); font-style: italic } // Comment
|
6
|
+
.err { color: var(--highlight-err); background-color: var(--highlight-err-bg) } // Error
|
7
|
+
.k { color: var(--highlight-k); font-weight: bold } // Keyword
|
8
|
+
.o { color: var(--highlight-o); font-weight: bold } // Operator
|
9
|
+
.cm { color: var(--highlight-cm); font-style: italic } // Comment.Multiline
|
10
|
+
.cp { color: var(--highlight-cp); font-weight: bold } // Comment.Preproc
|
11
|
+
.c1 { color: var(--highlight-c1); font-style: italic } // Comment.Single
|
12
|
+
.cs { color: var(--highlight-cs); font-weight: bold; font-style: italic } // Comment.Special
|
13
|
+
.gd { color: var(--highlight-gd); background-color: var(--highlight-gd-bg) } // Generic.Deleted
|
14
|
+
.gd .x { color: var(--highlight-gd-x); background-color: var(--highlight-gd-x-bg) } // Generic.Deleted.Specific
|
15
|
+
.ge { color: var(--highlight-ge); font-style: italic } // Generic.Emph
|
16
|
+
.gr { color: var(--highlight-gr) } // Generic.Error
|
17
|
+
.gh { color: var(--highlight-gh) } // Generic.Heading
|
18
|
+
.gi { color: var(--highlight-gi); background-color: var(--highlight-gi-bg) } // Generic.Inserted
|
19
|
+
.gi .x { color: var(--highlight-gi-x); background-color: var(--highlight-gi-x-bg) } // Generic.Inserted.Specific
|
20
|
+
.go { color: var(--highlight-go) } // Generic.Output
|
21
|
+
.gp { color: var(--highlight-gp) } // Generic.Prompt
|
22
|
+
.gs { color: var(--highlight-gs); font-weight: bold } // Generic.Strong
|
23
|
+
.gu { color: var(--highlight-gu) } // Generic.Subheading
|
24
|
+
.gt { color: var(--highlight-gt) } // Generic.Traceback
|
25
|
+
.kc { color: var(--highlight-kc); font-weight: bold } // Keyword.Constant
|
26
|
+
.kd { color: var(--highlight-kd); font-weight: bold } // Keyword.Declaration
|
27
|
+
.kp { color: var(--highlight-kp); font-weight: bold } // Keyword.Pseudo
|
28
|
+
.kr { color: var(--highlight-kr); font-weight: bold } // Keyword.Reserved
|
29
|
+
.kt { color: var(--highlight-kt); font-weight: bold } // Keyword.Type
|
30
|
+
.m { color: var(--highlight-m); } // Literal.Number
|
31
|
+
.s { color: var(--highlight-s) } // Literal.String
|
32
|
+
.na { color: var(--highlight-na) } // Name.Attribute
|
33
|
+
.nb { color: var(--highlight-nb) } // Name.Builtin
|
34
|
+
.nc { color: var(--highlight-nc); font-weight: bold } // Name.Class
|
35
|
+
.no { color: var(--highlight-no) } // Name.Constant
|
36
|
+
.ni { color: var(--highlight-ni); } // Name.Entity
|
37
|
+
.ne { color: var(--highlight-ne); font-weight: bold } // Name.Exception
|
38
|
+
.nf { color: var(--highlight-nf); font-weight: bold } // Name.Function
|
39
|
+
.nn { color: var(--highlight-nn); } // Name.Namespace
|
40
|
+
.nt { color: var(--highlight-nt) } // Name.Tag
|
41
|
+
.nv { color: var(--highlight-nv) } // Name.Variable
|
42
|
+
.ow { color: var(--highlight-ow); font-weight: bold } // Operator.Word
|
43
|
+
.w { color: var(--highlight-w) } // Text.Whitespace
|
44
|
+
.mf { color: var(--highlight-mf) } // Literal.Number.Float
|
45
|
+
.mh { color: var(--highlight-mh) } // Literal.Number.Hex
|
46
|
+
.mi { color: var(--highlight-mi) } // Literal.Number.Integer
|
47
|
+
.mo { color: var(--highlight-mo) } // Literal.Number.Oct
|
48
|
+
.sb { color: var(--highlight-sb) } // Literal.String.Backtick
|
49
|
+
.sc { color: var(--highlight-sc) } // Literal.String.Char
|
50
|
+
.sd { color: var(--highlight-sd) } // Literal.String.Doc
|
51
|
+
.s2 { color: var(--highlight-s2) } // Literal.String.Double
|
52
|
+
.se { color: var(--highlight-se) } // Literal.String.Escape
|
53
|
+
.sh { color: var(--highlight-sh) } // Literal.String.Heredoc
|
54
|
+
.si { color: var(--highlight-si) } // Literal.String.Interpol
|
55
|
+
.sx { color: var(--highlight-sx) } // Literal.String.Other
|
56
|
+
.sr { color: var(--highlight-sr) } // Literal.String.Regex
|
57
|
+
.s1 { color: var(--highlight-s1) } // Literal.String.Single
|
58
|
+
.ss { color: var(--highlight-ss) } // Literal.String.Symbol
|
59
|
+
.bp { color: var(--highlight-bp) } // Name.Builtin.Pseudo
|
60
|
+
.vc { color: var(--highlight-vc) } // Name.Variable.Class
|
61
|
+
.vg { color: var(--highlight-vg) } // Name.Variable.Global
|
62
|
+
.vi { color: var(--highlight-vi) } // Name.Variable.Instance
|
63
|
+
.il { color: var(--highlight-il) } // Literal.Number.Integer.Long
|
64
|
+
}
|