5 Commits

Author SHA1 Message Date
b6c2bafbdc fix list template .Description 2024-09-07 23:43:48 +02:00
3c03c1b0ea update README 2024-09-07 23:27:10 +02:00
c57581a3b3 fix read more link
closes #480
2024-09-07 23:27:10 +02:00
9cee0bf239 Merge pull request #468 from amtoine/add-katex-support-to-community-features
add KaTeX support as a community feature
2024-09-06 18:52:41 +02:00
7910e41eb6 add my fork to the list of community features 2023-05-18 12:23:29 +02:00
5 changed files with 23 additions and 15 deletions

View File

@ -23,3 +23,7 @@ eg:
- **Single Page Website** (https://github.com/justinnuwin/hugo-theme-terminal)
- A layout where the homepage can render lists of pages and the navigation menu can link to sections on the homepage.
- Justin Nguyen, software and hardware developer.
- **Support for beautiful *KaTeX* formulae** ([amtoine/hugo-theme-terminal-katex](https://github.com/amtoine/hugo-theme-terminal-katex))
- SHORT DESCRIPTION
- Antoine Stevan ([@amtoine](https://github.com/amtoine)), software engineer into open source

View File

@ -1,10 +1,14 @@
# Terminal
**Demo: https://panr.github.io/hugo-theme-terminal-demo/**
**Create your own color scheme: https://panr.github.io/terminal-css/**
![Terminal](https://github.com/panr/hugo-theme-terminal/blob/master/images/terminal-theme.png?raw=true)
**DEMO - https://panr.github.io/hugo-theme-terminal-demo/**
---
**⚠️ The theme needs at least Hugo **Extended** v0.90.x.**
⚠️ The theme needs at least Hugo **Extended** v0.90.x.
---
@ -24,7 +28,7 @@
## Features
- fully customizable color schemes generated by [**terminal.css**](https://panr.github.io/terminal-css/).
- fully customizable color schemes generated by [**Terminal.css**](https://panr.github.io/terminal-css/).
- [**Fira Code**](https://github.com/tonsky/FiraCode) as default monospaced font. It's gorgeous!
- **really nice duotone**, custom syntax highlighting based on [**PrismJS**](https://prismjs.com)
- fully responsive

View File

@ -37,7 +37,7 @@
{{ if .Params.showFullContent }}
{{ .Content }}
{{ else if .Description }}
{{ .Description | markdownify }}
<p>{{ .Description | markdownify }}</p>
{{ else }}
{{ .Summary }}
{{ end }}
@ -45,7 +45,7 @@
{{ if not .Params.showFullContent }}
<div>
<a class="read-more button" href="{{.RelPermalink}}">{{ $.Site.Params.ReadMore }}</a>
<a class="read-more button inline" href="{{ .RelPermalink }}">{{ $.Site.Params.ReadMore }}</a>
</div>
{{ end }}
</article>

View File

@ -38,7 +38,7 @@
{{ if .Params.showFullContent }}
{{ .Content }}
{{ else if .Description }}
{{ .Description | markdownify }}
<p>{{ .Description | markdownify }}</p>
{{ else }}
{{ .Summary }}
{{ end }}
@ -46,7 +46,7 @@
{{ if not .Params.showFullContent }}
<div>
<a class="read-more button" href="{{.RelPermalink}}">{{ $.Site.Params.ReadMore }}</a>
<a class="read-more button inline" href="{{ .RelPermalink }}">{{ $.Site.Params.ReadMore }}</a>
</div>
{{ end }}
</article>