monoholic 0.4.0 → 0.4.2
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/README.md +16 -0
- data/_includes/head.html +5 -0
- data/_includes/menu.html +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4708ae3d34073debc48897fc80ca19144e0b7879983151c3fc3383a2539fc075
|
|
4
|
+
data.tar.gz: '09984d12d0243ad15fee3045be5fcc17c57968626e614ec641eb793ba20612e1'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 98c441ed4b16e5af52691090d50b7c548a8e3de79541e8c48630da53b80007d2b1f24c83075765917c1071855dcabde2f4d3cccc6c8420080bca0736cb9323c8
|
|
7
|
+
data.tar.gz: 0c4f995846f78f27515e00b560b41de1d103780c689f479bc6d9c6b593fce4f26f009e88b60b7243fc1de2233f2976cd2d015e47d5f6515796ab347d10336451
|
data/README.md
CHANGED
|
@@ -69,6 +69,22 @@ theme_config:
|
|
|
69
69
|
footer: true # Show/hide site footer (default: true)
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
+
### Fediverse Creator tag
|
|
73
|
+
|
|
74
|
+
Monoholic supports `fediverse:creator` meta tag:
|
|
75
|
+
|
|
76
|
+
```yaml
|
|
77
|
+
fediverse_creator: @username@social.example.com
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Setting `fediverse_creator` tag appends following tag to the site's header:
|
|
81
|
+
|
|
82
|
+
```html
|
|
83
|
+
<meta name="fediverse:creator" content="@username@social.example.com">
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
[See Also](https://docs.joinmastodon.org/user/profile/#attribution)
|
|
87
|
+
|
|
72
88
|
### Analytics
|
|
73
89
|
|
|
74
90
|
Monoholic has built-in support for [GoatCounter](https://www.goatcounter.com/), a privacy-friendly analytics platform. Add your GoatCounter subdomain to `_config.yml`:
|
data/_includes/head.html
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
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
|
+
|
|
6
|
+
{%- if site.fediverse_creator -%}
|
|
7
|
+
<meta name="fediverse:creator" content="{{ site.fediverse_creator }}">
|
|
8
|
+
{%- endif -%}
|
|
9
|
+
|
|
5
10
|
{%- seo -%}
|
|
6
11
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
7
12
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
data/_includes/menu.html
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{%- for item in include.collection -%}
|
|
2
2
|
<section>
|
|
3
|
-
<h2 class="section-title"
|
|
3
|
+
<h2 class="section-title">## {{ item.title }}</h2>
|
|
4
4
|
{%- if item.content_file -%}
|
|
5
5
|
{%- assign _menu_page = site.pages
|
|
6
6
|
| where: 'path', item.content_file
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
{%- elsif item.content -%}
|
|
13
13
|
{{ item.content }}
|
|
14
14
|
{%- endif -%}
|
|
15
|
-
</section>
|
|
16
15
|
{%- if item.post_list -%}{%- include post_list.html -%}{%- endif -%}
|
|
16
|
+
</section>
|
|
17
17
|
{%- if item.entries -%}
|
|
18
18
|
{%- include menu.html collection = item.entries -%}
|
|
19
19
|
{%- endif -%}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: monoholic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Agil Mammadov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-06-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -82,7 +82,7 @@ dependencies:
|
|
|
82
82
|
version: '2.8'
|
|
83
83
|
description:
|
|
84
84
|
email:
|
|
85
|
-
- mammadovagil@
|
|
85
|
+
- mammadovagil@proton.me
|
|
86
86
|
executables: []
|
|
87
87
|
extensions: []
|
|
88
88
|
extra_rdoc_files: []
|