Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4acd067c48 | |||
| 56ae0901f1 | |||
| eb8c44dc40 | |||
| 0258c67535 | |||
| 5a2b4c0f1f | |||
| 973642048a | |||
| 855bbc2f09 | |||
| 2cbfdf00f6 | |||
| ba3681ca55 | |||
| 50d2f96b2d |
@@ -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
|
||||
@@ -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:
|
||||
|
||||
@@ -307,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
@@ -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 {
|
||||
|
||||
@@ -15,6 +15,7 @@ html {
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: inherit;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
@@ -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]]
|
||||
|
||||
@@ -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
@@ -10,5 +10,4 @@ min_version = 0.90
|
||||
|
||||
[author]
|
||||
name = "panr"
|
||||
homepage = "https://radoslawkoziel.pl"
|
||||
twitter = "https://twitter.com/panr"
|
||||
homepage = "https://rkoziel.com"
|
||||
|
||||
Reference in New Issue
Block a user