utopia-project 0.15.5 → 0.16.0
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/lib/utopia/project/version.rb +1 -1
- data/pages/source/_discuss.xnode +24 -0
- data/pages/source/show.xnode +2 -0
- data/public/_static/site.css +7 -0
- data/template/config.ru +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c71cf5c142e09f4a14c86c346f006a9208a104a1271627fc63b739c3b409ff32
|
4
|
+
data.tar.gz: ed70f4c752e6f955c2a9e4da329b632f0bd86fc9071016f9881dbd68425baefb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b82b1707d5c3f75d0358443b3ae67e2758d17c73a872c71cb74427a8871992b78ea32154fac1593f7fb5c6c5cdb8a169e165ca0439b68613128dbb311779d13
|
7
|
+
data.tar.gz: 0d1dda598ecb0bd12eef2501eddade8b02c06d3880c39eb0c53b6975563c3011470dcf485541a2dda689a35ceb44b903bf5f92c6e756d0a11d6182518714cd6f
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<?r
|
2
|
+
repo = ENV['UTOPIA_PROJECT_GISCUS_REPO']
|
3
|
+
repo_id = ENV['UTOPIA_PROJECT_GISCUS_REPO_ID']
|
4
|
+
category = ENV['UTOPIA_PROJECT_GISCUS_CATEGORY']
|
5
|
+
category_id = ENV['UTOPIA_PROJECT_GISCUS_CATEGORY_ID']
|
6
|
+
|
7
|
+
if repo
|
8
|
+
?>
|
9
|
+
<section>
|
10
|
+
<h2>Discussion</h2>
|
11
|
+
<script src="https://giscus.app/client.js"
|
12
|
+
data-repo="#{repo}"
|
13
|
+
data-repo-id="#{repo_id}"
|
14
|
+
data-category="#{category}"
|
15
|
+
data-category-id="#{category_id}"
|
16
|
+
data-mapping="title"
|
17
|
+
data-reactions-enabled="0"
|
18
|
+
data-emit-metadata="0"
|
19
|
+
data-theme="preferred_color_scheme"
|
20
|
+
crossorigin="anonymous"
|
21
|
+
async>
|
22
|
+
</script>
|
23
|
+
</section>
|
24
|
+
<?r end ?>
|
data/pages/source/show.xnode
CHANGED
data/public/_static/site.css
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
|
2
|
+
* {box-sizing: border-box;}
|
3
|
+
|
2
4
|
html {
|
3
5
|
font-family: "PT Sans", Verdana, Helvetica, Arial, sans-serif;
|
4
6
|
font-size: 16px;
|
@@ -135,6 +137,11 @@ h1, h2, h3, h4, h5, h6, p, pre, ul, dl, ol {
|
|
135
137
|
margin: 1rem;
|
136
138
|
}
|
137
139
|
|
140
|
+
div.giscus {
|
141
|
+
margin: 1rem 0;
|
142
|
+
padding: 0 1rem;
|
143
|
+
}
|
144
|
+
|
138
145
|
pre {
|
139
146
|
margin: 2rem 1rem;
|
140
147
|
}
|
data/template/config.ru
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utopia-project
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: decode
|
@@ -193,6 +193,7 @@ files:
|
|
193
193
|
- pages/guides/show.xnode
|
194
194
|
- pages/index.xnode
|
195
195
|
- pages/links.yaml
|
196
|
+
- pages/source/_discuss.xnode
|
196
197
|
- pages/source/_pragmas.xnode
|
197
198
|
- pages/source/_signature.xnode
|
198
199
|
- pages/source/controller.rb
|