Browse Source

Fix typos, change button icons to be sans-serif

master
Paweł Romanowski 6 years ago
parent
commit
582749d5e7
  1. 8
      README.md
  2. 4
      sass/pagination.scss
  3. 2
      templates/index.html
  4. 5
      templates/macros/post.html

8
README.md

@ -19,15 +19,15 @@ Many thanks for that outstanding original theme, Radek!
- Content has been centered (instead of left-aligned). - Content has been centered (instead of left-aligned).
- The header stripes have been spaced out. - The header stripes have been spaced out.
- Tweaks to pagination, especially on mobile (small screens). - Tweaks to pagination, especially on mobile (small screens).
- The post title underline is now dashed instead of doubly-dotted. - The post title underline is dashed instead of doubly-dotted.
- All links are underscored, as per - All links are underlined, as per
[Brutalist Web Design Guidelines](https://www.brutalist-web.design/). [Brutalist Web Design Guidelines](https://www.brutalist-web.design/).
- Tweaks to header font sizes. - Tweaks to header font sizes.
- Minor footer tweaks. - Minor footer tweaks.
- Absolutely **no JavaScript**. - Absolutely **no JavaScript**.
- No JavaScript needed to pre-process anything. - No JavaScript needed to pre-process anything.
Zola with it's Sass pre-processor is the only dependency. Zola with its Sass pre-processor is the only dependency.
- There's no menu trigger. - There's no menu trigger.
- Things load crazy fast, as it's all static content. - Things load crazy fast, as it's all static content.
- Prism.js syntax highlighting is not supported (you can use - Prism.js syntax highlighting is not supported (you can use
@ -68,7 +68,7 @@ $ git clone https://github.com/pawroman/zola-theme-terminimal.git themes/termini
Option B: also include it as a git submodule (it's better if you plan to use CI builders): Option B: also include it as a git submodule (it's better if you plan to use CI builders):
``` ```
$ git submodule add https://github.com/pawroman/zola-theme-terminimal.git themes/terminal $ git submodule add https://github.com/pawroman/zola-theme-terminimal.git themes/terminimal
``` ```
Then in your `config.toml` set: Then in your `config.toml` set:

4
sass/pagination.scss

@ -74,4 +74,8 @@
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
} }
&__icon {
font-family: sans-serif;
}
} }

2
templates/index.html

@ -34,7 +34,7 @@
{%- if config.extra.logo_text %} {%- if config.extra.logo_text %}
{{ config.extra.logo_text }} {{ config.extra.logo_text }}
{% else %} {% else %}
   Terminimal theme
{% endif -%} {% endif -%}
</div> </div>
</a> </a>

5
templates/macros/post.html

@ -5,7 +5,10 @@
</div> </div>
<div> <div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji --> <!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="{{ page.permalink }}">Read more &#8617;&#xFE0E;</a> <a class="read-more button" href="{{ page.permalink }}">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div> </div>
{% else %} {% else %}
<div class="post-content"> <div class="post-content">

Loading…
Cancel
Save