14 Commits

Author SHA1 Message Date
d9eccf6127 move font features to @font-face declaration (closes #489) 2024-10-16 09:10:03 +02:00
21620ae214 Merge pull request #487 from imortio/patch-1
Update USERS.md
2024-10-10 16:42:54 +02:00
a5f5687065 Update USERS.md
add my website to list, because i am using this beautiful theme
2024-10-10 21:06:49 +07:00
0edfefba5d update LICENSE year 2024-10-10 08:14:54 +02:00
7177f517c1 Merge pull request #484 from adamperkowski/users_me
add adamperkowski.dev to `USERS.md`
2024-10-10 08:12:54 +02:00
35e0dcdde2 add adamperkowski.dev 2024-10-10 02:23:49 +02:00
170db40535 Merge pull request #483 from Lurgrid/master
Add www.sagbot.com to USER.md list
2024-09-22 22:44:26 +02:00
a507c01a0a Add www.sagbot.com to USER.md list 2024-09-22 15:04:11 +02:00
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
a45f003c7a update marketing stuff v2 2024-08-31 12:07:54 +02:00
7910e41eb6 add my fork to the list of community features 2023-05-18 12:23:29 +02:00
24 changed files with 33 additions and 35 deletions

View File

@ -23,3 +23,7 @@ eg:
- **Single Page Website** (https://github.com/justinnuwin/hugo-theme-terminal) - **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. - 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. - 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,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2019 panr Copyright (c) 2024 panr
Permission is hereby granted, free of charge, to any person obtaining a copy of Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in this software and associated documentation files (the "Software"), to deal in

View File

@ -1,10 +1,14 @@
# Terminal # 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) ![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 ## 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! - [**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) - **really nice duotone**, custom syntax highlighting based on [**PrismJS**](https://prismjs.com)
- fully responsive - fully responsive

View File

@ -56,7 +56,9 @@
- https://sir-photch.xyz **Sir-Photch** (ComSci-student. German Blog) - https://sir-photch.xyz **Sir-Photch** (ComSci-student. German Blog)
- https://drewmorris.info **Drew Morris** (Mathematician && Computer Scientist) - https://drewmorris.info **Drew Morris** (Mathematician && Computer Scientist)
- https://blog.darkiiiiiice.com **MarioMang** (Software Developer) - https://blog.darkiiiiiice.com **MarioMang** (Software Developer)
- https://www.sagbot.com **E. HADDAG** (Computer Scientist)
- https://adamperkowski.dev **Adam Perkowski** (A Random Developer)
- https://imortio.github.io **Azrul** (CompSci Student)
<!-- <!--
TEMPLATE: TEMPLATE:

View File

@ -1,4 +1,3 @@
/* _code.scss */
pre { pre {
margin: 20px 0; margin: 20px 0;
} }

View File

@ -1,15 +1,19 @@
/* _font.scss */
@font-face { @font-face {
font-display: swap; font-display: swap;
font-family: "Fira Code"; font-family: "Fira Code";
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: url("../fonts/FiraCode-Regular.woff") format("woff"); src: url("../fonts/FiraCode-Regular.woff") format("woff");
font-feature-settings: "liga", "tnum", "zero", "ss01", "locl";
font-variant-ligatures: contextual;
} }
@font-face { @font-face {
font-display: swap; font-display: swap;
font-family: "Fira Code"; font-family: "Fira Code";
font-style: normal; font-style: normal;
font-weight: 800; font-weight: 800;
src: url("../fonts/FiraCode-Bold.woff") format("woff"); src: url("../fonts/FiraCode-Bold.woff") format("woff");
font-feature-settings: "liga", "tnum", "zero", "ss01", "locl";
font-variant-ligatures: contextual;
} }

View File

@ -1,4 +1,3 @@
/* _footer.scss */
.footer { .footer {
padding: 40px 0; padding: 40px 0;
flex-grow: 0; flex-grow: 0;

View File

@ -1,4 +1,3 @@
/* _gist.scss */
body .gist .blob-num, body .gist .blob-num,
body .gist .blob-code-inner { body .gist .blob-code-inner {
border: none; border: none;

View File

@ -1,4 +1,3 @@
/* _header.scss */
.header { .header {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@ -1,4 +1,3 @@
/* _main.scss */
html { html {
box-sizing: border-box; box-sizing: border-box;
} }
@ -20,8 +19,6 @@ body {
color: var(--foreground); color: var(--foreground);
text-rendering: optimizelegibility; text-rendering: optimizelegibility;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
font-feature-settings: "liga", "tnum", "zero", "ss01", "locl";
font-variant-ligatures: contextual;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
text-size-adjust: 100%; text-size-adjust: 100%;
} }

View File

@ -1,4 +1,3 @@
/* _menu.scss */
.navigation-menu { .navigation-menu {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;

View File

@ -1,4 +1,3 @@
/* _pagination.scss */
.pagination { .pagination {
margin-top: 50px; margin-top: 50px;
} }

View File

@ -1,4 +1,3 @@
/* _post.scss */
.index-content { .index-content {
margin-top: 20px; margin-top: 20px;
} }

View File

@ -1,5 +1,3 @@
/* _prism.scss */
/* PrismJS 1.24.1 /* PrismJS 1.24.1
https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript+actionscript+apacheconf+applescript+bash+c+csharp+cpp+cmake+coffeescript+csp+css-extras+diff+django+docker+elixir+elm+erlang+fsharp+flow+git+go+graphql+haml+handlebars+haskell+http+java+json+kotlin+latex+less+llvm+makefile+markdown+markup-templating+nasm+objectivec+ocaml+perl+php+php-extras+powershell+processing+pug+python+r+jsx+tsx+reason+ruby+rust+sass+scss+scala+scheme+sql+stylus+swift+textile+toml+twig+typescript+vim+visual-basic+wasm+yaml&plugins=line-highlight+line-numbers+jsonp-highlight+highlight-keywords+command-line+toolbar+copy-to-clipboard */ https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript+actionscript+apacheconf+applescript+bash+c+csharp+cpp+cmake+coffeescript+csp+css-extras+diff+django+docker+elixir+elm+erlang+fsharp+flow+git+go+graphql+haml+handlebars+haskell+http+java+json+kotlin+latex+less+llvm+makefile+markdown+markup-templating+nasm+objectivec+ocaml+perl+php+php-extras+powershell+processing+pug+python+r+jsx+tsx+reason+ruby+rust+sass+scss+scala+scheme+sql+stylus+swift+textile+toml+twig+typescript+vim+visual-basic+wasm+yaml&plugins=line-highlight+line-numbers+jsonp-highlight+highlight-keywords+command-line+toolbar+copy-to-clipboard */

View File

@ -1,4 +1,3 @@
/* _syntax.scss */
code.language-css, code.language-css,
code.language-scss, code.language-scss,
.token.boolean, .token.boolean,

View File

@ -19,7 +19,7 @@ html {
box-sizing: inherit; box-sizing: inherit;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
body { body {
margin: 0; margin: 0;
@ -38,8 +38,6 @@ body {
color: var(--foreground); color: var(--foreground);
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
font-feature-settings: "liga", "tnum", "zero", "ss01", "locl";
font-variant-ligatures: contextual;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
} }

View File

@ -1,4 +1,3 @@
/* _terms.scss */
.terms h3 { .terms h3 {
font-size: initial; font-size: initial;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 KiB

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

@ -37,15 +37,15 @@
{{ if .Params.showFullContent }} {{ if .Params.showFullContent }}
{{ .Content }} {{ .Content }}
{{ else if .Description }} {{ else if .Description }}
{{ .Description | markdownify }} <p>{{ .Description | markdownify }}</p>
{{ else }} {{ else }}
{{ .Summary }} {{ .Summary }}
{{ end }} {{ end }}
</div> </div>
{{ if not .Params.showFullContent }} {{ if not .Params.showFullContent }}
<div> <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> </div>
{{ end }} {{ end }}
</article> </article>

View File

@ -38,7 +38,7 @@
{{ if .Params.showFullContent }} {{ if .Params.showFullContent }}
{{ .Content }} {{ .Content }}
{{ else if .Description }} {{ else if .Description }}
{{ .Description | markdownify }} <p>{{ .Description | markdownify }}</p>
{{ else }} {{ else }}
{{ .Summary }} {{ .Summary }}
{{ end }} {{ end }}
@ -46,7 +46,7 @@
{{ if not .Params.showFullContent }} {{ if not .Params.showFullContent }}
<div> <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> </div>
{{ end }} {{ end }}
</article> </article>

View File

@ -9,13 +9,13 @@
<ul> <ul>
{{ $type := .Type }} {{ $type := .Type }}
{{ range $key, $value := .Data.Terms.Alphabetical }} {{ range $key, $value := .Data.Terms.Alphabetical }}
{{ $name := .Name }} {{ $name := .Name }}
{{ $count := .Count }} {{ $count := .Count }}
{{ with $.Site.GetPage (printf "/%s/%s" $type $name) }} {{ with $.Site.GetPage (printf "/%s/%s" $type $name) }}
<li> <li>
<a class="terms-title" href="{{ .Permalink }}">{{ .Name }} [{{ $count }}]</a> <a class="terms-title" href="{{ .Permalink }}">{{ .Name }} [{{ $count }}]</a>
</li> </li>
{{ end }} {{ end }}
{{ end }} {{ end }}
</ul> </ul>
</div> </div>