on master help sign in
Merge pull request #87 from urbit/zola-port
82f054eMorgan Sutherland
config.toml+3
@@ -11,6 +11,9 @@ base_url = "https://urbit.org"
11# Whether to automatically compile all Sass files in the sass directory
11# Whether to automatically compile all Sass files in the sass directory
12compile_sass = true
12compile_sass = true
13
13
14+# Whether to generate a RSS feed automatically
15+generate_rss = true
16+
14# Whether to do syntax highlighting
17# Whether to do syntax highlighting
15# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
18# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
16highlight_code = true
19highlight_code = true
sass/_main.scss+1−1
@@ -105,7 +105,7 @@ iframe {
105
105
106.content {
106.content {
107 position: relative;
107 position: relative;
108− z-index: 1;
108+ z-index: 3;
109 margin-top: -16rem;
109 margin-top: -16rem;
110}
110}
111
111
templates/base.html+3−2
@@ -7,11 +7,12 @@
7 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <meta name="viewport" content="width=device-width, initial-scale=1.0">
8 <meta name="description" content="{{ config.description }}">
8 <meta name="description" content="{{ config.description }}">
9 <meta name="author" content="{{ config.extra.author.name }}">
9 <meta name="author" content="{{ config.extra.author.name }}">
10− <link rel="icon" type="image/png" href="../images/favicon.ico"/>
10+ <link rel="icon" type="image/png" href="../images/favicon.ico" />
11+ <link rel="alternative" type="application/rss+xml" title="Urbit RSS" href="/rss.xml" />
11 <title>{{ config.title }}</title>
12 <title>{{ config.title }}</title>
12 <!-- stylesheets -->
13 <!-- stylesheets -->
13 <link rel="stylesheet" href="{{ config.base_url }}/indigo.css">
14 <link rel="stylesheet" href="{{ config.base_url }}/indigo.css">
14− <link rel="stylesheet" href="{{ config.base_url }}/styles.css">
15+ <link rel="stylesheet" href="{{ get_url(path="/styles.css", trailing_slash=true, cachebust=true) }}">
15 <script async src="https://www.googletagmanager.com/gtag/js?id=UA-47054188-1"></script>
16 <script async src="https://www.googletagmanager.com/gtag/js?id=UA-47054188-1"></script>
16 <script>
17 <script>
17 window.dataLayer = window.dataLayer || [];
18 window.dataLayer = window.dataLayer || [];
templates/page.html+1−1
@@ -39,7 +39,7 @@
39 <div class="content posts__content pb40">
39 <div class="content posts__content pb40">
40 <article class="article">
40 <article class="article">
41 <!-- header -->
41 <!-- header -->
42− <h4 class="mt2 mb16"><code>&#126;{% if page.date %}{{ page.date | date(format="%Y.%m.%d") }}{% endif %}</code></h4>
42+ <h4 class="mb16"><code>&#126;{% if page.date %}{{ page.date | date(format="%Y.%m.%d") }}{% endif %}</code></h4>
43 <h1 class="mt8 mb8">{{ page.title }}</h1>
43 <h1 class="mt8 mb8">{{ page.title }}</h1>
44 <!-- body -->
44 <!-- body -->
45 {{ page.content | safe }}
45 {{ page.content | safe }}
templates/posts/single.html+2−2
@@ -41,8 +41,8 @@
41 <ul class="list">
41 <ul class="list">
42 {% for page in term.pages %}
42 {% for page in term.pages %}
43 <li class="list__item mb8">
43 <li class="list__item mb8">
44− <span class="h4 mt0 mb0 text-mono text-500 gray-light">&#126;{{ page.date | date(format="%Y.%m.%d") }}</span>
44+ <span class="h4 mt0 mb0 mono">&#126;{{ page.date | date(format="%Y.%m.%d") }}</span>
45− <span class="h4 mt0 mb0 h-font text-500 gray-light lowercase">{% if page.taxonomies.posts %}
45+ <span class="h4 mt0 mb0 h-font">{% if page.taxonomies.posts %}
46 {% for post in page.taxonomies.posts %}<a href="{{ get_taxonomy_url(kind="posts", name=post) }}">{{ post }}</a> {% endfor %}
46 {% for post in page.taxonomies.posts %}<a href="{{ get_taxonomy_url(kind="posts", name=post) }}">{{ post }}</a> {% endfor %}
47 {% endif %}</span>
47 {% endif %}</span>
48 <a href="{{ page.permalink }}"><h2 class="mt1">{{ page.title }}</h2></a>
48 <a href="{{ page.permalink }}"><h2 class="mt1">{{ page.title }}</h2></a>
templates/primer.html+10−10
@@ -98,7 +98,7 @@
98 <div class="row mb-8">
98 <div class="row mb-8">
99 <div class="col-md-12">
99 <div class="col-md-12">
100 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#what-urbit-is-for">
100 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#what-urbit-is-for">
101− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(1)</div>
101+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">1.</div>
102 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Aegean: What Urbit is For</div>
102 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Aegean: What Urbit is For</div>
103 </a>
103 </a>
104 </div>
104 </div>
@@ -106,7 +106,7 @@
106 <div class="row mb-8">
106 <div class="row mb-8">
107 <div class="col-md-12">
107 <div class="col-md-12">
108 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#what-arvo-is">
108 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#what-arvo-is">
109− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(2)</div>
109+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">2.</div>
110 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Arvo: What Urbit is</div>
110 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Arvo: What Urbit is</div>
111 </a>
111 </a>
112 </div>
112 </div>
@@ -114,7 +114,7 @@
114 <div class="row mb-8">
114 <div class="row mb-8">
115 <div class="col-md-12">
115 <div class="col-md-12">
116 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#what-azimuth-is">
116 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#what-azimuth-is">
117− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(3)</div>
117+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">3.</div>
118 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Azimuth: What Urbit is</div>
118 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Azimuth: What Urbit is</div>
119 </a>
119 </a>
120 </div>
120 </div>
@@ -122,7 +122,7 @@
122 <div class="row mb-8">
122 <div class="row mb-8">
123 <div class="col-md-12">
123 <div class="col-md-12">
124 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#history">
124 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#history">
125− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(4)</div>
125+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">4.</div>
126 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">History</div>
126 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">History</div>
127 </a>
127 </a>
128 </div>
128 </div>
@@ -130,7 +130,7 @@
130 <div class="row mb-8">
130 <div class="row mb-8">
131 <div class="col-md-12">
131 <div class="col-md-12">
132 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#azimuth-distribution">
132 <a class="row sm-h2 h1 h1-large h-font white text-decoration-none" href="#azimuth-distribution">
133− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(5)</div>
133+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">5.</div>
134 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Azimuth distribution</div>
134 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Azimuth distribution</div>
135 </a>
135 </a>
136 </div>
136 </div>
@@ -152,7 +152,7 @@
152 <div class="row mb-8">
152 <div class="row mb-8">
153 <div class="col-md-10 col-md-offset-1">
153 <div class="col-md-10 col-md-offset-1">
154 <a class="row h2 h-font white text-decoration-none" href="#what-urbit-is-for">
154 <a class="row h2 h-font white text-decoration-none" href="#what-urbit-is-for">
155− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(1)</div>
155+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">1.</div>
156 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Aegean: What Urbit is For</div>
156 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Aegean: What Urbit is For</div>
157 </a>
157 </a>
158 </div>
158 </div>
@@ -160,7 +160,7 @@
160 <div class="row mb-8">
160 <div class="row mb-8">
161 <div class="col-md-10 col-md-offset-1">
161 <div class="col-md-10 col-md-offset-1">
162 <a class="row h2 h-font white text-decoration-none" href="#what-arvo-is">
162 <a class="row h2 h-font white text-decoration-none" href="#what-arvo-is">
163− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(2)</div>
163+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">2.</div>
164 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Arvo: What Urbit is</div>
164 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Arvo: What Urbit is</div>
165 </a>
165 </a>
166 </div>
166 </div>
@@ -168,7 +168,7 @@
168 <div class="row mb-8">
168 <div class="row mb-8">
169 <div class="col-md-10 col-md-offset-1">
169 <div class="col-md-10 col-md-offset-1">
170 <a class="row h2 h-font white text-decoration-none" href="#what-azimuth-is">
170 <a class="row h2 h-font white text-decoration-none" href="#what-azimuth-is">
171− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(3)</div>
171+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">3.</div>
172 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Azimuth: What Urbit is</div>
172 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Azimuth: What Urbit is</div>
173 </a>
173 </a>
174 </div>
174 </div>
@@ -176,7 +176,7 @@
176 <div class="row mb-8">
176 <div class="row mb-8">
177 <div class="col-md-10 col-md-offset-1">
177 <div class="col-md-10 col-md-offset-1">
178 <a class="row h2 h-font white text-decoration-none" href="#history">
178 <a class="row h2 h-font white text-decoration-none" href="#history">
179− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(4)</div>
179+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">4.</div>
180 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">History</div>
180 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">History</div>
181 </a>
181 </a>
182 </div>
182 </div>
@@ -184,7 +184,7 @@
184 <div class="row mb-8">
184 <div class="row mb-8">
185 <div class="col-md-10 col-md-offset-1">
185 <div class="col-md-10 col-md-offset-1">
186 <a class="row h2 h-font white text-decoration-none" href="#azimuth-distribution">
186 <a class="row h2 h-font white text-decoration-none" href="#azimuth-distribution">
187− <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">(5)</div>
187+ <div class="col-sm-1 col-md-1 col-md-offset-1 center dlig">5.</div>
188 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Azimuth distribution</div>
188 <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-0 underline underline--skip">Azimuth distribution</div>
189 </a>
189 </a>
190 </div>
190 </div>