chore: update the demo site
This commit is contained in:
parent
8704e1903a
commit
004534d03c
@ -1,17 +1,17 @@
|
|||||||
baseurl = "https://example.com/"
|
baseurl = "https://example.com/"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
theme = "hugo-theme-terminal"
|
# theme = "hugo-theme-re-terminal"
|
||||||
paginate = 5
|
paginate = 5
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
contentTypeName = "posts"
|
contentTypeName = "posts"
|
||||||
themeColor = "orange"
|
themeColor = "blue"
|
||||||
showMenuItems = 2
|
showMenuItems = 2
|
||||||
fullWidthTheme = false
|
fullWidthTheme = false
|
||||||
centerTheme = false
|
centerTheme = true
|
||||||
|
|
||||||
[languages]
|
[languages]
|
||||||
[languages.en]
|
[languages.en.params]
|
||||||
title = "re-Terminal"
|
title = "re-Terminal"
|
||||||
subtitle = "A simple, retro theme for Hugo"
|
subtitle = "A simple, retro theme for Hugo"
|
||||||
keywords = ""
|
keywords = ""
|
||||||
|
@ -1,22 +1,40 @@
|
|||||||
+++
|
+++
|
||||||
title = "About"
|
title = "About"
|
||||||
date = "2019-01-25"
|
date = "2024-07-30"
|
||||||
author = "Radek"
|
author = "Mirus"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
||||||
|
# Hello in a new age
|
||||||
|
|
||||||
|
You can call me Mirus and I forked the original Terminal theme for Hugo, because Radek, the original creator of the theme stop the maintenance and archived the repo.
|
||||||
|
|
||||||
|
So I already pushed a few improvements that I did for my humble blog and I'm going to add some more features in the future, also any contribution is welcome
|
||||||
|
|
||||||
|
Below you can read the original about from Radek
|
||||||
|
|
||||||
|
```text
|
||||||
# Hi there
|
# Hi there
|
||||||
|
|
||||||
My name is Radek and I'm the author of this theme. I made it to help you present your ideas easier.
|
My name is Radek and I'm the author of this theme.
|
||||||
|
I made it to help you present your ideas easier.
|
||||||
|
|
||||||
We all know how hard is to start something on the web, especially these days. You need to prepare a bunch of stuff, configure them and when that’s done — create the content.
|
We all know how hard is to start something on the web,
|
||||||
|
especially these days. You need to prepare a bunch of stuff,
|
||||||
|
configure them and when that’s done — create the content.
|
||||||
|
|
||||||
This theme is pretty basic and covers all of the essentials. All you have to do is start typing!
|
This theme is pretty basic and covers all of the essentials.
|
||||||
|
All you have to do is start typing!
|
||||||
|
|
||||||
The theme includes:
|
The theme includes:
|
||||||
|
|
||||||
- **5 duotone themes**, depending on your preferences (orange, red, blue, green, pink)
|
- **5 duotone themes**,
|
||||||
- [**Fira Code**](https://github.com/tonsky/FiraCode) as default monospaced font. It's gorgeous!
|
depending on your preferences (orange, red, blue, green, pink)
|
||||||
- **really nice, custom duotone** syntax highlighting based on [**PrismJS**](https://prismjs.com)
|
- [**Fira Code**](https://github.com/tonsky/FiraCode)
|
||||||
|
as default monospaced font. It's gorgeous!
|
||||||
|
- **really nice, custom duotone** syntax highlighting based on
|
||||||
|
[**PrismJS**](https://prismjs.com)
|
||||||
- mobile friendly layout
|
- mobile friendly layout
|
||||||
|
|
||||||
So, there you have it... enjoy!
|
So, there you have it... enjoy!
|
||||||
|
```
|
@ -1,9 +1,9 @@
|
|||||||
+++
|
+++
|
||||||
title = "Hello Friend"
|
title = "Hello Friend, re-Terminal is back!"
|
||||||
date = "2019-01-25"
|
date = "2024-07-30"
|
||||||
author = "Lorem Ipsum"
|
author = "Mirus"
|
||||||
cover = "hello.jpg"
|
cover = "img/hello.jpg"
|
||||||
description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam nec interdum metus. Aenean rutrum ligula sodales ex auctor, sed tempus dui mollis. Curabitur ipsum dui, aliquet nec commodo at, tristique eget ante."
|
description = "The popular them for Hugo Terminal is reborn in re-Terminal fork. Let's make the Radek's work continue to live"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam nec interdum metus. Aenean rutrum ligula sodales ex auctor, sed tempus dui mollis. Curabitur ipsum dui, aliquet nec commodo at, tristique eget ante. **Donec quis dolor nec nunc mollis interdum vel in purus**. Sed vitae leo scelerisque, sollicitudin elit sed, congue ante. In augue nisl, vestibulum commodo est a, tristique porttitor est. Proin laoreet iaculis ornare. Nullam ut neque quam.
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam nec interdum metus. Aenean rutrum ligula sodales ex auctor, sed tempus dui mollis. Curabitur ipsum dui, aliquet nec commodo at, tristique eget ante. **Donec quis dolor nec nunc mollis interdum vel in purus**. Sed vitae leo scelerisque, sollicitudin elit sed, congue ante. In augue nisl, vestibulum commodo est a, tristique porttitor est. Proin laoreet iaculis ornare. Nullam ut neque quam.
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body class="{{- ( or .Params.color $.Site.Params.ThemeColor ) -}}">
|
<body class="{{- ( or .Params.color $.Site.Params.ThemeColor ) -}}">
|
||||||
{{ $container := cond ($.Site.Params.FullWidthTheme | default false) "container full" (cond ($.Site.Params.CenterTheme | default false) "container center" "container") }}
|
{{ $container := cond ($.Site.Params.FullWidthTheme | default false) "container full" (cond ($.Site.Params.CenterTheme | default true) "container center" "container") }}
|
||||||
|
|
||||||
<div class="{{- $container -}}{{- cond ($.Site.Params.oneHeadingSize | default true) " headings--one-size" "" }}">
|
<div class="{{- $container -}}{{- cond ($.Site.Params.oneHeadingSize | default true) " headings--one-size" "" }}">
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<a href="{{ if $.Site.Params.Logo.LogoHomeLink }}{{ $.Site.Params.Logo.LogoHomeLink }}{{else}}{{ $.Site.BaseURL }}{{ end }}">
|
<a href="{{ if $.Site.Params.Logo.LogoHomeLink }}{{ $.Site.Params.Logo.LogoHomeLink }}{{else}}{{ $.Site.BaseURL }}{{ end }}">
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
{{ with $.Site.Params.Logo.logoText }}{{ . }}{{ else }}Terminal{{ end }}
|
{{ with $.Site.Params.Logo.logoText }}{{ . }}{{ else }}re-Terminal{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user