Compare commits

...

11 Commits

Author SHA1 Message Date
Radek Kozieł 4acd067c48 Update build.yml
Build / build (push) Failing after 1m54s
2026-04-05 23:21:41 +02:00
Radek Kozieł 56ae0901f1 chore: create build.yml workflow 2026-04-05 23:12:48 +02:00
jardel eb8c44dc40 fix(example): use correct config in the example. (#564) 2026-04-05 23:08:08 +02:00
teremich 0258c67535 added option to format date on tag list (#575)
Earlier, the date format was hard coded to `2006-01-02`. Now the site wide parameter `dateFormat` can be used to optionally set the format on post lists.
2026-04-05 22:59:33 +02:00
panr 5a2b4c0f1f add word-break to all elements 2025-05-10 08:07:59 +02:00
panr 973642048a fix code margin 2025-05-10 08:07:59 +02:00
Jorge Sepulveda 855bbc2f09 Added text size adjusters for mobile font sizing. (#556) 2025-04-23 23:09:27 +02:00
Radek Kozieł 2cbfdf00f6 Update README.md 2025-03-28 19:28:32 +01:00
Radek Kozieł ba3681ca55 Update theme.toml 2025-03-28 19:23:02 +01:00
graves501 50d2f96b2d Fix submodule typo in README.md (#541) 2025-03-19 11:49:40 +01:00
panr a2daa38408 Update README
fix for the issue #537
2025-03-13 19:14:27 +01:00
7 changed files with 63 additions and 15 deletions
+31
View File
@@ -0,0 +1,31 @@
name: Build
on: push
env:
HUGO_VERSION: 0.152.2
jobs:
build:
runs-on: ubuntu-22.04
steps:
# CHEKCOUT REPOSITORY
- name: Git checkout
uses: actions/checkout@v6
# SETUP HUGO
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '${{ env.HUGO_VERSION }}'
extended: true
# DEPENDENCIES
- name: Install npm dependencies
run: npm ci
# BUILD
- name: Build Site
env:
TZ: 'Europe/Warsaw'
run: hugo --minify
+11 -2
View File
@@ -23,6 +23,7 @@
- [How to edit the theme](#how-to-edit)
- [Found a bug?](#bug)
- [New cool idea or feature](#feature)
- [Support](#support)
- [License](#license)
## Features
@@ -129,7 +130,7 @@ This will clone the repository directly to the `themes/terminal` directory.
git submodule add -f https://github.com/panr/hugo-theme-terminal.git themes/terminal
```
This will install the repository as a sumbodule in the `themes/terminal` directory.
This will install the repository as a submodule in the `themes/terminal` directory.
⚠️ If you encounter any issues with:
@@ -159,6 +160,10 @@ languageCode = "en-us"
theme = "terminal"
pagination.pagerSize = 5
# Required for Chroma and the custom syntax highlighting.
[markup.highlight]
noClasses = false
[params]
# dir name of your main content (default is `content/posts`).
# the list of set content will show up on your index page (baseurl).
@@ -303,8 +308,12 @@ This will help keeping the theme close to its roots, and also allow anyone who w
Sounds OK? Cool, let's rock! 🤘
## Support
If you like what I'm doing and want to support my work. You can do it [here](https://ko-fi.com/pan_r). Thank you! ♥️
## License
Copyright © 2019-2025 Radosław Kozieł ([@panr](https://radoslawkoziel.pl/))
Copyright © 2019-2025 Radek Kozieł ([@panr](https://rkoziel.com/))
The theme is released under the MIT License. Check the [original theme license](https://github.com/panr/hugo-theme-terminal/blob/master/LICENSE.md) for additional licensing information.
+4 -1
View File
@@ -3,7 +3,6 @@
}
pre:not(.chroma) {
margin: 20px 0;
padding: 10px;
}
@@ -20,6 +19,10 @@ pre code {
code {
color: var(--accent);
text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
.highlight {
+1
View File
@@ -15,6 +15,7 @@ html {
*::before,
*::after {
box-sizing: inherit;
word-break: break-word;
}
body {
+9 -9
View File
@@ -15,16 +15,16 @@ pagination.pagerSize = 5
[languages]
[languages.en]
title = "Terminal"
subtitle = "A simple, retro theme for Hugo"
keywords = ""
copyright = ""
menuMore = "Show more"
readMore = "Read more"
readOtherPosts = "Read other posts"
[languages.en.params.logo]
logoText = "Terminal"
logoHomeLink = "/"
[languages.en.params]
subtitle = "A simple, retro theme for Hugo"
keywords = ""
menuMore = "Show more"
readMore = "Read more"
readOtherPosts = "Read other posts"
[[languages.en.params.logo]]
logoText = "Terminal"
logoHomeLink = "/"
[languages.en.menu]
[[languages.en.menu.main]]
+6 -1
View File
@@ -14,7 +14,12 @@
<div class="post-meta">
{{- if .Date -}}
<time class="post-date">
{{- .Date.Format "2006-01-02" -}}
{{- $date := .Date -}}
{{- with .Site.Params.DateFormat -}}
{{- $date.Format . -}}
{{- else -}}
{{- $date.Format "2006-01-02" -}}
{{- end -}}
</time>
{{- end -}}
{{- with .Params.Author -}}
+1 -2
View File
@@ -10,5 +10,4 @@ min_version = 0.90
[author]
name = "panr"
homepage = "https://radoslawkoziel.pl"
twitter = "https://twitter.com/panr"
homepage = "https://rkoziel.com"