562 Commits
Author SHA1 Message Date
panr 8dee69d6f1 Update README 2022-10-23 11:20:57 +02:00
panr 77db977cbb Update README 2022-10-22 13:32:38 +02:00
Radek KoziełandGitHub 21cdda5eab Merge pull request #372 from Seirdy/a11y-fixes
A11y fixes
2022-10-22 11:37:49 +02:00
Radek KoziełandGitHub bc8a948e9e Merge branch 'master' into a11y-fixes 2022-10-22 11:37:43 +02:00
Radek KoziełandGitHub 4cfc615c58 Merge pull request #370 from matidfk/patch-1
Allow target="_blank" with .Params.NewTab set to true
2022-10-22 11:36:14 +02:00
Radek KoziełandGitHub 630b79d3d3 Merge pull request #369 from undeMalum/master
Update USERS.md
2022-10-22 11:35:17 +02:00
Radek KoziełandGitHub 078ea12d61 Merge branch 'master' into master 2022-10-22 11:35:10 +02:00
Radek KoziełandGitHub 799ade2a15 Merge pull request #363 from ben-kuhn/patch-1
Update USERS.md
2022-10-22 11:32:53 +02:00
Radek KoziełandGitHub a28d372103 Merge branch 'master' into patch-1 2022-10-22 11:32:47 +02:00
Radek KoziełandGitHub 84915ed87c Merge pull request #358 from bg117/patch-1
Add my site onto USERS.md
2022-10-22 11:32:03 +02:00
Radek KoziełandGitHub 48a59f7148 Merge branch 'master' into patch-1 2022-10-22 11:31:57 +02:00
Radek KoziełandGitHub 5a7235247c Merge pull request #354 from GrumpyMetalGuy/patch-1
Update USERS.md
2022-10-22 11:31:38 +02:00
Radek KoziełandGitHub 9cbdf7f76b Merge branch 'master' into patch-1 2022-10-22 11:31:32 +02:00
Radek KoziełandGitHub 8ef529a191 Merge pull request #346 from gabe565/list-date-fix
Fix list date shown as 0001-01-01 when not set
2022-10-22 11:31:10 +02:00
Radek KoziełandGitHub 578cff2c4a Merge pull request #337 from wilsonehusin/summary-no-markdown
Don't markdownify `.Summary`
2022-10-22 11:30:51 +02:00
Radek KoziełandGitHub cddbfdb6c8 Merge pull request #324 from Jontes-Tech/patch-1
Adding Jontes.Page
2022-10-22 11:30:13 +02:00
Radek KoziełandGitHub 52455fceeb Merge branch 'master' into patch-1 2022-10-22 11:30:06 +02:00
Rohan Kumar ef0ab18dd9 Switch another div to article 2022-10-18 21:02:32 -07:00
Radek KoziełandGitHub 788ab99b3d Merge pull request #373 from MichalSkoula/patch-1
Update USERS.md
2022-10-18 23:30:32 +02:00
Michal ŠkoulaandGitHub 1e9ebfa7a0 Update USERS.md
added my websites
2022-10-05 22:30:53 +02:00
Rohan Kumar 4a26bc11a8 Semantics: use time element where appropriate
See #371
2022-09-27 14:06:37 -07:00
Rohan Kumar a44ecc8816 Semantics: use article element where appropriate
See #371
2022-09-27 13:58:45 -07:00
Rohan Kumar 7e552cfc27 Typo: change ariaLabel to aria-label 2022-09-27 13:56:54 -07:00
matidfkandGitHub b824cb3172 Allow target="_blank" with .Params.NewTab set to true
example:
```
[[menu.main]]
identifier = "discord"
name = "Discord"
url = "https://discord.gg/..."
[menu.main.params]
    newTab = true
```
2022-09-25 13:19:32 +01:00
undeMalumandGitHub 7ebc190fa0 Update USERS.md
Add me and my website
2022-09-24 16:45:10 +02:00
Ben KuhnandGitHub f501aea6c4 Update USERS.md 2022-09-08 11:52:29 -05:00
bg117andGitHub 6978547538 Update USERS.md 2022-08-18 19:15:43 +08:00
JonatanandGitHub 1cfe36806b Update USERS.md 2022-08-06 19:59:07 +02:00
JonatanandGitHub a318e42764 Update USERS.md 2022-08-06 19:56:12 +02:00
Radek KoziełandGitHub 1610962731 Merge pull request #355 from panr/dependabot/npm_and_yarn/terser-5.14.2
Bump terser from 5.9.0 to 5.14.2
2022-07-20 08:00:51 +02:00
dependabot[bot]andGitHub e65726ee5a Bump terser from 5.9.0 to 5.14.2
Bumps [terser](https://github.com/terser/terser) from 5.9.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 01:26:28 +00:00
GrumpyMetalGuyandGitHub eb64ae3fd1 Update USERS.md 2022-07-18 13:54:47 +01:00
panr b868b1d08b remove go.module 2022-07-08 15:44:13 +02:00
Gabe Cook d7e289572a Fix list date shown as 0001-01-01 when not set 2022-07-06 12:12:59 -05:00
Radek KoziełandGitHub b257fa2699 Update README.md 2022-07-04 09:05:14 +02:00
panr aad3300fb5 add hugo module 2022-06-21 10:16:02 +02:00
panr ce78519623 add form styles 2022-06-16 09:16:23 +02:00
Wilson E. Husin 48846331ee Don't markdownify .Summary
When a post defines a custom summary through `<!--more-->` tag,
`markdownify` does not work and result in the post having empty summary.

This fixes the behavior to render it properly
2022-04-26 16:50:17 -07:00
Radek KoziełandGitHub e0213b0d4e Merge pull request #332 from alycklama/feature/hide-comments
Adds flag to hide comments on a page-to-page basis
2022-03-29 23:36:50 +02:00
Anton Lijcklama à Nijeholt 7b430aaaca Adds flag to hide comments on a page-to-page basis 2022-03-29 20:08:32 +02:00
Radek KoziełandGitHub 065f1a9f1e Merge pull request #326 from MikeFoden/master
Update USERS.md to include Mike Foden
2022-03-26 11:33:04 +01:00
Radek KoziełandGitHub c98dfa6452 Merge pull request #331 from panr/dependabot/npm_and_yarn/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6
2022-03-26 11:32:19 +01:00
dependabot[bot]andGitHub 379dccdabc Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-26 10:20:25 +00:00
Mike FodenandGitHub 6f09541f75 Update USERS.md 2022-03-22 10:34:30 +11:00
Radek KoziełandGitHub 60b9f3f4db Merge pull request #320 from tatewilhelm/patch-1
Adding User
2022-03-19 09:14:26 +01:00
JonatanandGitHub 32bac37f22 Update USERS.md 2022-03-12 11:18:21 +01:00
Tate WilhelmandGitHub 55e8a45109 Update USERS.md 2022-02-21 22:32:57 -06:00
Radek KoziełandGitHub 9d458d193f Merge pull request #314 from icy-comet/patch-1
document `Toc`, `TocTitle` & `readingTime`
2022-02-07 11:48:35 +01:00
icy-comet 1b3daa8aec add Toc & readingTime to sample config & change example formatting 2022-02-05 16:17:20 +05:30
icy-comet 993f39f58d make Toc a site-wide Param 2022-02-05 15:58:12 +05:30
Radek KoziełandGitHub 6ad2d19be8 Merge pull request #297 from alberto-lanfranco/master
fixed post-content logic in index.html and list.html
2022-01-22 09:17:10 +01:00
Radek KoziełandGitHub ded26b695f Merge pull request #302 from faultnote/menu/visual-align
Update menu margin for visual align
2022-01-22 09:10:03 +01:00
Radek KoziełandGitHub 26acce9de7 Merge pull request #306 from 2200g/patch-1
Added my blog to the list.
2022-01-22 09:09:16 +01:00
Radek KoziełandGitHub 2d6da429ad Merge branch 'master' into patch-1 2022-01-22 09:09:11 +01:00
Radek KoziełandGitHub f90f088661 Merge pull request #308 from cristiioan/master
Added my blog
2022-01-22 09:08:31 +01:00
Radek KoziełandGitHub 9ecbdfdb53 Merge branch 'master' into master 2022-01-22 09:08:25 +01:00
Radek KoziełandGitHub 53b0ba4b1c Merge pull request #311 from panr/dependabot/npm_and_yarn/nanoid-3.2.0
Bump nanoid from 3.1.30 to 3.2.0
2022-01-22 09:06:58 +01:00
Radek KoziełandGitHub 4d31894966 Merge pull request #310 from mintphin/patch-1
Added they.mint.lgbt
2022-01-22 09:06:43 +01:00
dependabot[bot]andGitHub f8743050da Bump nanoid from 3.1.30 to 3.2.0
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 03:09:16 +00:00
mintandGitHub 2f07661d54 Added they.mint.lgbt 2022-01-21 21:24:07 -03:00
YoungTaek df1fcb5b4e Trim visual align by adding a margin into menu section
- add a 1 pixel left and right margin to .menu selector in header.css file
2022-01-15 14:49:39 +09:00
CristiioanandGitHub 38b7e2d71a Added my blog 2022-01-12 16:02:51 +02:00
2200gandGitHub b396c7267f Added my blog to the list.
Added my blog to the list.
2022-01-10 05:16:38 +08:00
Radek KoziełandGitHub 71b2d5731d Merge pull request #304 from biplavxyz/patch-1
Add biplav.xyz to USERS list
2022-01-08 09:50:57 +01:00
Radek KoziełandGitHub f07873df21 Merge branch 'master' into patch-1 2022-01-08 09:50:42 +01:00
Radek KoziełandGitHub 2c980592fb Merge pull request #301 from santiagon610/master
add santiago.wtf to USERS list
2022-01-08 09:48:25 +01:00
Radek KoziełandGitHub c3cc15b3fb Merge pull request #300 from sethforprivacy/patch-1
Update sethsimmons.me -> blog.sethforprivacy.com
2022-01-08 09:48:15 +01:00
panr 411fade4c6 update font the latest version and fix "font-feature-settings" to enable ligatures 2022-01-07 11:23:56 +01:00
BiplavandGitHub 0f3c3ce5a2 Add biplav.xyz to USERS list 2022-01-06 13:32:45 -05:00
Nicholas Santiago 757870fc9f add santiago.wtf to USERS list 2021-12-23 02:36:54 -05:00
Seth For PrivacyandGitHub 8c8b04f619 Update sethsimmons.me -> blog.sethforprivacy.com 2021-12-22 19:28:32 +00:00
Radek KoziełandGitHub 384671e682 Merge pull request #294 from MCWertGaming/patch-2
Updated blog url
2021-11-10 19:23:36 +01:00
Alberto LanfrancoandGitHub 14414168d7 fixed post-content logic in index.html 2021-11-10 09:12:44 +01:00
Alberto LanfrancoandGitHub 1eb3288a62 fixed post-content logic in list.html 2021-11-10 09:11:18 +01:00
panr 9facb58364 fix dir name for exampleSite 2021-11-07 17:26:49 +01:00
panr a3dd8c11f0 set default values for FullWidthTheme and CenterTheme. fixes 278 2021-11-04 23:44:21 +01:00
Damon LevenandGitHub cc1553f7ff Update USERS.md 2021-11-02 15:25:20 +01:00
panr b11b5bf012 make it easier to copy code from README 2021-11-01 19:16:12 +01:00
panr 1d8c831af4 update README 2021-11-01 19:00:14 +01:00
panr e77948f3cd fix autocover partial 2021-11-01 18:58:53 +01:00
Radek KoziełandGitHub a634663b48 Merge pull request #250 from indrora/page-bundles
Use Page Bundles, automatically use cover file if available. Closes #249, #274
2021-11-01 18:49:33 +01:00
panr bfc300f4c8 remove dependabot 2021-11-01 16:25:39 +01:00
panr 553c9a0616 add dependabot 2021-11-01 16:00:27 +01:00
Radek KoziełandGitHub bf96fb25be Merge pull request #273 from davidhollis/add-scala-support
Add scala support
2021-10-24 23:24:56 +02:00
panr b41381ea93 update dependencies 2021-10-24 18:37:28 +02:00
panr 8b1529f4bb clean up webpack config 2021-10-24 18:17:16 +02:00
panr 9833384a7b use terset instead of uglify 2021-10-24 17:54:27 +02:00
panr 5737d557f4 fix list styles and re-minify styles. closes #255 2021-10-24 17:41:21 +02:00
panr 466cd49b25 update yarn.lock and re-minify prism.js 2021-10-24 10:53:43 +02:00
Radek KoziełandGitHub a9365185ba Merge pull request #241 from catleeball/dep
Add terser as minifier.
2021-10-24 10:50:34 +02:00
Radek KoziełandGitHub de6a660701 Merge branch 'master' into dep 2021-10-24 10:49:53 +02:00
Radek KoziełandGitHub 0b06a56093 Merge pull request #243 from justinnuwin/upstream
Single page website layout feature and add user
2021-10-24 10:47:32 +02:00
Radek KoziełandGitHub be75e724a1 Merge branch 'master' into upstream 2021-10-24 10:47:10 +02:00
panr 0c08f72167 add reading time param 2021-10-24 10:44:15 +02:00
Radek KoziełandGitHub bbaf93ff6f Merge pull request #258 from kllmanu/patch-1
prevent footnotes from affecting line-height
2021-10-24 10:04:58 +02:00
Radek KoziełandGitHub 360673bedf Merge pull request #260 from sophiabrandt/fix/paginator
[Bugfix] pagination, close #235
2021-10-24 10:03:55 +02:00
Radek KoziełandGitHub 2b0406b7a4 Merge pull request #276 from Nereuxofficial/patch-1
Added my blog to USERS.md
2021-10-24 01:09:17 +02:00
Radek KoziełandGitHub f851fbb769 Merge pull request #277 from sophiabrandt/remove-rockyourcode
Remove rockyourcode
2021-10-24 01:06:57 +02:00
Sophia Brandt fa5d7a4d42 Remove rockyourcode 2021-10-02 11:54:20 +02:00
NereuxofficialandGitHub 49c865aee1 Added my blog to USERS.md 2021-09-29 12:20:22 +02:00
David Hollis 3dd3c40480 Update README 2021-08-29 15:37:30 +00:00
David Hollis ae9c58f8e1 Add Scala support to prism.js highlighter 2021-08-29 15:32:45 +00:00
Radek KoziełandGitHub cd36a63fd0 Merge pull request #268 from m0xxz/master
markdownify on  .Content not needed
2021-08-24 14:49:42 +02:00
Radek KoziełandGitHub e4b831ac6b Merge pull request #267 from calefrey/patch-1
Make prismjs shortcode CRLF tolerant
2021-08-24 14:46:30 +02:00
Radek KoziełandGitHub c10d0fa757 Merge pull request #263 from n-kremeris/patch-1
Update USERS.md
2021-08-24 14:42:55 +02:00
Radek KoziełandGitHub 25bae8dd53 Merge pull request #254 from panr/dependabot/npm_and_yarn/browserslist-4.16.5
Bump browserslist from 4.16.3 to 4.16.5
2021-08-24 14:42:01 +02:00
Radek KoziełandGitHub cf980be3f4 Merge pull request #271 from panr/dependabot/npm_and_yarn/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7
2021-08-24 14:41:51 +02:00
Radek KoziełandGitHub f139a26426 Update README.md 2021-08-24 14:40:59 +02:00
panr 7d58896abd add cmake, llvm and nasm syntax 2021-08-24 14:30:28 +02:00
dependabot[bot]andGitHub 1752bcca7d Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 22:59:12 +00:00
Zach 7773f26830 No need to markdownify .Content, per Hugo project (https://github.com/gohugoio/hugo/issues/2616#issuecomment-255179057). This fixes issues with showFullContent. 2021-07-13 20:28:36 -07:00
Caleb FreyandGitHub 9fcd6f2e83 Make prismjs shortcode CRLF tolerant
Checks for extra line in the form of `\r\n` or `\n` so that it's recognized and removed appropriately when edited in a CRLF editor
2021-07-13 17:36:00 -04:00
Norbert KremerisandGitHub 7eb29c4145 Update USERS.md 2021-07-01 21:33:09 +01:00
Sophia Brandt d2aba65c9a Close #235
Implements solution proposed in
https://github.com/panr/hugo-theme-terminal/issues/235#issuecomment-817480433
by @Laetgark
Link to documentation: https://gohugo.io/templates/pagination/#list-paginator-pages
2021-06-18 08:54:35 +02:00
manuandGitHub ec451ec43e prevent footnotes from affecting line-height
see https://stackoverflow.com/a/6594576
2021-06-16 10:47:46 +02:00
dependabot[bot]andGitHub ebf07a9cdd Bump browserslist from 4.16.3 to 4.16.5
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.16.5.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.16.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 01:45:20 +00:00
Radek KoziełandGitHub ca1cc0c391 Merge pull request #242 from woosal1337/patch-1
Update USERS.md
2021-05-12 23:33:22 +02:00
Radek KoziełandGitHub b06ead7ef5 Merge pull request #251 from panr/dependabot/npm_and_yarn/postcss-8.2.10
Bump postcss from 8.2.8 to 8.2.10
2021-05-12 23:32:59 +02:00
Radek KoziełandGitHub 092dfc0601 Merge pull request #246 from panr/dependabot/npm_and_yarn/ssri-6.0.2
Bump ssri from 6.0.1 to 6.0.2
2021-05-12 23:32:50 +02:00
dependabot[bot]andGitHub 3dd20f0986 Bump postcss from 8.2.8 to 8.2.10
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.8 to 8.2.10.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.8...8.2.10)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 00:38:37 +00:00
Morgan Gangwere ef0c8fef68 fix logic for getting cover information 2021-05-07 23:49:17 -07:00
Morgan Gangwere 2383eeb774 Add title from CoverCredit, if availble 2021-05-04 21:37:33 -07:00
Morgan Gangwere 67bb5735de Move cover to partial; need to verify that old behavior still works as intended. 2021-05-04 19:33:35 -07:00
Morgan Gangwere 61980c49d1 Use Page Bundles, automatically use cover file if available. 2021-05-02 23:53:56 -07:00
dependabot[bot]andGitHub 988d494e4b Bump ssri from 6.0.1 to 6.0.2
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 22:58:19 +00:00
Justin Nguyen 49c8fa1dae Add single page website layout community feature and myself to users list 2021-04-10 04:17:51 -07:00
Vusal IsmayilovandGitHub fe616cce37 Update USERS.md 2021-04-06 01:41:32 +03:00
🎷🐛 Lee Ball e12f6caa63 Add terser as minifier. 2021-03-21 20:36:29 -07:00
panr aaaadafec9 Add default values for the pagination 2021-03-21 10:41:10 +01:00
Radek KoziełandGitHub 9dd8459305 Merge pull request #155 from guiguir68/multilingual-improvement
'Newer/Older posts' label is now editable
2021-03-21 10:39:23 +01:00
Radek KoziełandGitHub b4bf3b06c3 Merge pull request #229 from smailzhu/fix-empty-summary
fix summary issue
2021-03-21 10:33:08 +01:00
Radek KoziełandGitHub b4629bfaea Merge pull request #233 from MCWertGaming/desciptionFix
use the defined description instead of the first paragraph in the header when available
2021-03-21 10:20:56 +01:00
Radek KoziełandGitHub 89e499b402 Merge pull request #238 from geckopfote/master
Update USERS.md
2021-03-21 10:18:52 +01:00
Radek KoziełandGitHub 6e3dff3351 Merge pull request #239 from CMiksche/patch-2
Add rss file with full content
2021-03-21 10:12:21 +01:00
panr 58bfba3985 [chore] update dependencies and modernize postcss config 2021-03-21 10:06:30 +01:00
Christoph Daniel MikscheandGitHub 72673985a1 Add rss file with full content
Add a default RSS file based on the official Hugo file and extend it with a content tag

Fixes #234
2021-02-28 20:03:44 +01:00
ChrisandGitHub dc69c9059c Update USERS.md
Add my website to the list.
2021-02-21 12:54:54 +01:00
damon 30ad59dc69 use the defined description instead of the first paragraph 2021-02-03 16:54:28 +00:00
Radek KoziełandGitHub 8564ee33a1 Merge pull request #196 from cindrmon/patch-1
duplicated website and name
2021-01-10 10:27:51 +01:00
Radek KoziełandGitHub 175b1a7cb8 Merge branch 'master' into patch-1 2021-01-10 10:27:43 +01:00
Radek KoziełandGitHub 53a90e1e09 Merge pull request #195 from bugfix123/patch-1
Update USERS.md
2021-01-10 10:25:19 +01:00
Radek KoziełandGitHub 235f2a37ff Merge branch 'master' into patch-1 2021-01-10 10:25:03 +01:00
Radek KoziełandGitHub 2363670d7e Merge pull request #212 from kdpuvvadi/master
Update USERS.md
2021-01-10 10:24:01 +01:00
Radek KoziełandGitHub e42dbd57ea Merge pull request #214 from Louisload/feature/add-community-feature-portfolio
Add portfolio fork to COMMUNITY-FEATURES
2021-01-10 10:19:04 +01:00
Radek KoziełandGitHub 2c5f161f65 Merge branch 'master' into feature/add-community-feature-portfolio 2021-01-10 10:18:10 +01:00
Radek KoziełandGitHub ec4748863a Merge pull request #215 from MichaelTrip/update-USERS.md
updated USERS.md
2021-01-10 10:13:04 +01:00
Radek KoziełandGitHub de84c9b4c3 Merge branch 'master' into update-USERS.md 2021-01-10 10:12:50 +01:00
Radek KoziełandGitHub 3032b81e82 Merge pull request #223 from panr/dependabot/npm_and_yarn/ini-1.3.7
Bump ini from 1.3.5 to 1.3.7
2021-01-10 10:12:08 +01:00
Radek KoziełandGitHub 8dc8e95747 Merge pull request #221 from markopolo123/master
Update USERS.md
2021-01-10 10:11:51 +01:00
Radek KoziełandGitHub fef6d938fd Merge branch 'master' into master 2021-01-10 10:11:31 +01:00
Radek KoziełandGitHub 5092fa9a01 Merge pull request #226 from MCWertGaming/master
Update USERS.md
2021-01-10 10:10:58 +01:00
Radek KoziełandGitHub 603898c30b Merge branch 'master' into master 2021-01-10 10:10:49 +01:00
Radek KoziełandGitHub a09a79ae4c Merge pull request #231 from sethsimmons/patch-1
Add sethsimmons.me to user’s list
2021-01-10 10:06:31 +01:00
Radek KoziełandGitHub 3dd5709d70 Merge pull request #225 from robbienohra/feature/gist-syntax-highlighting
initial draft for gist syntax highlighting and table-layout modification
2021-01-10 10:06:15 +01:00
Seth SimmonsandGitHub 24522eeec5 Add sethsimmons.me to user’s list 2021-01-03 14:59:04 -05:00
Robbie Nohra ce5fa4c87c Merge branch 'feature/gist-syntax-highlighting' of github.com:robbienohra/hugo-theme-terminal into feature/gist-syntax-highlighting 2020-12-31 22:46:35 -05:00
Robbie Nohra 090d7b2f19 additonal cleanup 2020-12-31 22:46:26 -05:00
Robbie Nohra 5f53ba6b43 Merge branch 'feature/gist-syntax-highlighting' of github.com:robbienohra/hugo-theme-terminal into feature/gist-syntax-highlighting 2020-12-31 22:36:17 -05:00
Robbie Nohra 3c914ffcf7 Merge branch 'feature/gist-syntax-highlighting' of github.com:robbienohra/hugo-theme-terminal into feature/gist-syntax-highlighting 2020-12-31 22:36:06 -05:00
Robbie Nohra 229a3ead62 stripped away gist theme highlighting; including only minor gist formatting fixes 2020-12-31 22:35:54 -05:00
Robbie Nohra 5e218c0b43 Merge branch 'feature/gist-syntax-highlighting' of github.com:robbienohra/hugo-theme-terminal into feature/gist-syntax-highlighting 2020-12-25 14:55:46 -05:00
Robbie Nohra b09f2a4a14 Merge branch 'feature/gist-syntax-highlighting' of github.com:robbienohra/hugo-theme-terminal into feature/gist-syntax-highlighting 2020-12-25 14:55:28 -05:00
Robbie Nohra 194a49d39e removed extraneous .idea folder accidentally commited 2020-12-25 14:55:19 -05:00
Robbie Nohra 220f8e590e Merge branch 'feature/gist-syntax-highlighting' of github.com:robbienohra/hugo-theme-terminal into feature/gist-syntax-highlighting 2020-12-25 14:51:53 -05:00
Robbie Nohra 3c4a093dbd Merge branch 'feature/gist-syntax-highlighting' of github.com:robbienohra/hugo-theme-terminal into feature/gist-syntax-highlighting 2020-12-25 14:51:09 -05:00
Robbie Nohra 0af87801a2 ran yarn build to update static assets 2020-12-25 14:49:35 -05:00
Robbie Nohra e446bafe36 ran yarn build to update static assets 2020-12-25 14:49:20 -05:00
Robbie Nohra e3e310b60d further alignment of gist syntax styling with terminal theme 2020-12-22 21:36:16 -05:00
Robbie Nohra febf17a03d corrected color of pl-c1 2020-12-22 20:40:32 -05:00
Robbie Nohra 89f88607cc set font-size 1rem to align with theme; disabled font-style italic for comments to align with theme 2020-12-22 20:32:15 -05:00
Robbie Nohra 13aa8e777e specified gist font family as fira code to align with theme 2020-12-22 20:27:17 -05:00
Robbie Nohra 2ff00f859a bumped up gist fontsize 2020-12-22 20:25:26 -05:00
Robbie Nohra 5f2dbe44e3 set gist border radius to zero to align with terminal theme 2020-12-22 18:34:27 -05:00
Robbie Nohra 43a93652dd added gist border styling 2020-12-22 18:29:05 -05:00
Robbie Nohra 58c2d90f94 reverted style.css file to master 2020-12-22 18:20:11 -05:00
Robbie Nohra 547a17a25f reverted static styles.css; added preliminary gist stylesheet; added gist stylesheet import in assets main.css 2020-12-22 18:17:40 -05:00
Damon LevenandGitHub 3882fb160a Update USERS.md 2020-12-21 20:18:49 +00:00
Robbie Nohra b0a8f3bd43 initial draft for gist syntax highlighting and table-layout modification 2020-12-21 12:42:51 -05:00
dependabot[bot]andGitHub f3317dc327 Bump ini from 1.3.5 to 1.3.7
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-11 03:53:27 +00:00
MarkandGitHub feee0b5a1e Update USERS.md
Adding website and name.
2020-12-07 13:04:59 +00:00
smailzhu 58cf550908 fix index preview section issue 2020-11-30 16:07:41 +01:00
Michael Trip 30b7219a69 updated USERS.md 2020-11-24 14:42:44 +01:00
Luís Alves f0a5d6859e Add hidden.land to USERS.md 2020-11-20 19:16:12 +00:00
Luís Alves a5ef3ccc8b Add portfolio fork to COMMUNITY-FEATURES.md 2020-11-20 19:15:53 +00:00
panr c3f51a4c11 fix the viewport variables 2020-11-16 00:25:19 +01:00
panr 60a15e7b38 show language selector only when there is more than one language 2020-11-16 00:12:25 +01:00
panr 1e46e9cdaf fix diff duotone syntax color 2020-11-16 00:00:53 +01:00
Radek KoziełandGitHub 29200fe841 Merge pull request #203 from rdnlsmith/pwsh-syntax-highlight
Add highlighting for PowerShell syntax
2020-11-15 23:47:24 +01:00
Radek KoziełandGitHub a6ca60fb7f Merge branch 'master' into pwsh-syntax-highlight 2020-11-15 23:47:11 +01:00
Radek KoziełandGitHub 4d71df019b Merge pull request #202 from schoentoon/hide-menu-button-mobile
Hide the menu button on mobile if the menu is empty
2020-11-15 19:16:08 +01:00
panr 480cb60150 fix Webpack config to output standalone languageSelector file 2020-11-15 18:45:23 +01:00
KD PuvvadiandGitHub 78002c5029 Update USERS.md 2020-11-04 09:28:19 +05:30
Radek KoziełandGitHub 4d617361a3 Merge pull request #210 from yujixr/patch-1
Update USERS.md
2020-11-01 23:40:01 +01:00
YUJIandGitHub 825fde486a Update USERS.md
Add my site to this list
2020-11-01 23:34:51 +09:00
Radek KoziełandGitHub 28c44c93b1 Merge pull request #208 from Mathie-Josh/patch-2
Update USERS.md
2020-11-01 00:26:10 +01:00
Josh MandGitHub 9c4f402c4e Update USERS.md
would like to add  my website to the list
2020-10-29 19:25:30 -04:00
Radek KoziełandGitHub 12f249fd7c Merge pull request #207 from mpostument/mpostument-website
Added mpostument.com to USERS.MD
2020-10-27 15:28:42 +01:00
mpostument 42eea54554 added mpostument website 2020-10-27 13:32:37 +00:00
Daniel Smith 223b7536ce Add highlighting for PowerShell syntax 2020-10-19 20:37:35 -04:00
Toon Schoenmakers cb61741202 Hide the menu button on mobile if the menu is empty 2020-10-17 23:06:50 +02:00
Dominic FandGitHub 1756ef2edc duplicated website and name
sorry for the inconvenience. i just recently changed my github username, and i have noticed that there are already two instances of my own website in this list. i know it is just a small change, and i'm really sorry about it.
2020-09-29 22:30:58 +08:00
bugfix123andGitHub d0284fd691 Update USERS.md
My blog's domain(dongzhi.me) has changed to 'zhige.io',Thanks!
2020-09-29 22:07:10 +08:00
Radek KoziełandGitHub 30d5681909 Merge pull request #182 from zchrykng/patch-1
Add defaults to post archetype
2020-09-28 10:07:19 +02:00
Radek KoziełandGitHub b572763b1f Merge pull request #194 from hkennyv/fix-typo
fix typo: duetone -> duotone
2020-09-28 08:53:46 +02:00
Kenny Huynh 8e5c8d32dc fix typo: duetone -> duotone 2020-09-27 23:44:03 -07:00
Zachary KingandGitHub bb344ddad7 update for brain dead copy/paste 2020-09-27 18:01:26 -04:00
panr 08644e95c3 Allow html in figure caption. 2020-09-27 16:25:34 +02:00
Radek KoziełandGitHub 6856982e4a Merge pull request #158 from pablodiazgutierrez/patch-1
Adding pablart.com
2020-09-27 16:19:55 +02:00
Radek KoziełandGitHub 7ebb1d2776 Merge branch 'master' into patch-1 2020-09-27 16:19:44 +02:00
Radek KoziełandGitHub 54f156d2d5 Merge pull request #171 from rossmckelvie/author-spacing
Fix spacing in lists between :: and Author
2020-09-27 16:13:17 +02:00
Radek KoziełandGitHub 0f2f3fc6be Merge pull request #172 from rossmckelvie/apple-touch-icon
Modernize apple-touch-icon
2020-09-27 16:11:45 +02:00
Radek KoziełandGitHub 4a2f49d34b Merge pull request #178 from luigifcruz/patch-1
Ensure text remains visible during webfont load
2020-09-27 16:11:06 +02:00
Radek KoziełandGitHub 3523728e96 Merge pull request #179 from luigifcruz/patch-2
Improve Open Graph Tags
2020-09-27 16:07:25 +02:00
Radek KoziełandGitHub 6a9b40ee12 Merge pull request #184 from CosmosAtlas/master
Fixed language selector not showing up on click
2020-09-27 16:02:44 +02:00
panr 4a20b34d61 Update languageSelector code & other small fixes. 2020-09-27 16:01:39 +02:00
Radek KoziełandGitHub 85113381ea Merge pull request #190 from bugfix123/patch-1
Update USERS.md
2020-09-27 14:40:09 +02:00
Radek KoziełandGitHub 5685c97216 Merge branch 'master' into patch-1 2020-09-27 14:40:01 +02:00
Radek KoziełandGitHub a749f3e3e6 Merge pull request #189 from IsaEs/patch-1
Update USERS.md
2020-09-27 14:39:12 +02:00
Radek KoziełandGitHub b3437bc4dc Merge branch 'master' into patch-1 2020-09-27 14:39:01 +02:00
Radek KoziełandGitHub 654784a5c1 Merge pull request #188 from Conight/patch-1
Update USERS.md
2020-09-27 14:37:54 +02:00
Radek KoziełandGitHub fae2e5f804 Merge branch 'master' into patch-1 2020-09-27 14:37:45 +02:00
Radek KoziełandGitHub 57b7a9cfc2 Merge pull request #186 from CMiksche/patch-1
Update USERS.md
2020-09-27 14:37:11 +02:00
panr 9f2097f3f0 Fix head partial. 2020-09-06 00:52:53 +02:00
panr a6f223f522 Webpack is back! 2020-09-06 00:31:23 +02:00
bugfix123andGitHub 8710cb78b5 Update USERS.md
Thans you for your awesome theme!
2020-09-01 22:33:45 +08:00
İsa EşandGitHub d20f756c21 Update USERS.md 2020-08-29 22:09:53 +03:00
ConightandGitHub 3a7d4ad376 Update USERS.md 2020-08-28 09:48:44 +08:00
Christoph Daniel MikscheandGitHub c3b01fb9ce Update USERS.md 2020-08-25 23:23:32 +02:00
Radek KoziełandGitHub 0aae2e9ff4 Update README and make the instruction more clear. 2020-08-24 16:13:23 +02:00
Zachary KingandGitHub 4ade714a77 Add defaults to post archetype 2020-08-15 17:27:53 -04:00
Radek KoziełandGitHub e679f013c1 Update theme.toml 2020-08-12 08:44:40 +02:00
Radek KoziełandGitHub eac693c55f Update README.md 2020-08-12 08:44:16 +02:00
Luigi CruzandGitHub cbe39af196 Changing Open Graph tags. 2020-08-09 21:52:51 -03:00
Luigi CruzandGitHub d75ae3fae8 Add font-swap to third-party font. 2020-08-09 20:09:03 -03:00
panr e6be81c664 Show a twitter card without any condition. 2020-08-10 00:13:56 +02:00
Radek KoziełandGitHub 80fa802fa6 Merge pull request #177 from arminfriedl/master
Only add twitter card if twitter defined
2020-08-10 00:10:59 +02:00
panr fdd39516c3 Add COMMUNITY-FEATURES.md 2020-08-09 23:51:04 +02:00
panr b0e10e1dca Update README 2020-08-09 23:49:38 +02:00
Radek Kozieł e475eb88ef Update README.md 2020-08-09 23:49:38 +02:00
Radek Kozieł d644337551 Update README.md 2020-08-09 23:49:38 +02:00
panr c12cc903bd Update README. 2020-08-09 23:49:38 +02:00
panr 9c6d80f31f Update README. 2020-08-09 23:49:38 +02:00
panr 0759309c59 Webpack -> Hugo Pipes 2020-08-09 23:49:38 +02:00
Armin Friedl 55b6d6bf28 Only add twitter card if twitter defined
Removes warning
`WARNING: calling IsSet with unsupported type "invalid" (<nil>) will always return false.`
in newer hugo versions.
2020-08-09 08:17:04 +02:00
Radek KoziełandGitHub 73373847d8 Merge pull request #169 from classx/patch-1
Update USERS.md
2020-08-09 00:22:36 +02:00
Radek KoziełandGitHub a4a96bea35 Merge branch 'master' into patch-1 2020-08-09 00:22:26 +02:00
Radek KoziełandGitHub 33966cdf64 Merge pull request #168 from wbogocki/patch-1
Update USERS.md
2020-08-09 00:21:58 +02:00
Radek KoziełandGitHub 6eca4d4826 Merge branch 'master' into patch-1 2020-08-09 00:21:45 +02:00
Radek KoziełandGitHub 2d26fb1cf0 Merge pull request #167 from cindrmon/patch-2
Update USERS.md
2020-08-09 00:21:16 +02:00
Ross McKelvie 8b264b8f51 apple-touch-icon-precomposed has been obsolete since iOS 7 2020-08-02 03:38:24 -05:00
Ross McKelvie 983b497ec7 Fix spacing in lists between :: and Author 2020-07-31 22:59:42 -05:00
Radek KoziełandGitHub c80302a67d Merge pull request #170 from panr/dependabot/npm_and_yarn/elliptic-6.5.3
Bump elliptic from 6.5.2 to 6.5.3
2020-07-30 16:59:00 +02:00
dependabot[bot]andGitHub 087d77a0e6 Bump elliptic from 6.5.2 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-30 13:54:06 +00:00
classxandGitHub de6feb37b8 Update USERS.md 2020-07-30 13:34:38 +03:00
Wojciech BogóckiandGitHub 8404f40c2c Update USERS.md 2020-07-29 07:06:04 +08:00
Dominic FandGitHub 1703c16b7f Update USERS.md 2020-07-27 11:41:51 +08:00
Radek KoziełandGitHub 6404a48fe3 Merge pull request #161 from panr/dependabot/npm_and_yarn/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19
2020-07-19 17:45:47 +02:00
dependabot[bot]andGitHub c5e838481d Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 21:32:29 +00:00
Radek KoziełandGitHub bc29541514 Merge pull request #160 from RaZnAr0k/patch-1
Update USERS.md
2020-07-10 17:40:55 +02:00
RaZnAr0kandGitHub a020860014 Update USERS.md 2020-07-10 15:54:32 +08:00
Pablo Diaz-GutierrezandGitHub 2266ddfdd4 Adding pablart.com 2020-06-25 10:53:16 -07:00
panr 5a0af3384d Fix accessibility issues and re-format templates 2020-06-18 00:40:31 +02:00
panr 04d9175af8 Update styling 2020-06-18 00:21:19 +02:00
Radek KoziełandGitHub d450f681f0 Update README.md 2020-06-17 16:55:32 +02:00
panr 0925abe5d8 Add terms.html template.
Add index.html template.
Fix list.html template.
2020-06-17 16:52:06 +02:00
Radek KoziełandGitHub b19e56a9d8 Merge pull request #150 from FizzyGalacticus/color-per-page
Add color-per-page support
2020-06-17 16:20:06 +02:00
Guillaume REICHENBACH b95bb4ac1d 'Newer/Older posts' label is now editable 2020-06-16 16:04:45 +02:00
Radek KoziełandGitHub ebbeedc014 Update README.md 2020-06-13 15:56:57 +02:00
panr 9cbc71f5c3 Update collapsable code shortcode with isCollapsed prop 2020-06-13 09:51:22 +02:00
panr cf59a36030 Add a collapsable code shortcode 2020-06-10 00:16:28 +02:00
Dustin L. Dodson e7fd995590 Add color-per-page support, addresses #20 2020-05-30 17:23:49 -07:00
panr 0a9b08f405 Fix styling for the index content 2020-05-29 00:50:00 +02:00
Radek KoziełandGitHub 3ade628cfc Merge pull request #104 from nuno-silva/index
[WIP] Feature request: display index page content
2020-05-29 00:36:43 +02:00
panr 8ace31592e Fix conflicts 2020-05-29 00:25:49 +02:00
panr 7c77a416df Update 404 page 2020-05-29 00:22:42 +02:00
panr abab5c6dcd Update list styling 2020-05-29 00:22:42 +02:00
Radek Kozieł e2bb4583b1 Update USERS.md 2020-05-29 00:22:15 +02:00
elraroandpanr 2d0de8e812 Update USERS.md 2020-05-29 00:22:15 +02:00
Scott Andersonandpanr 72bdbc99ce remove pagnitaiton form sigle pages 2020-05-29 00:21:45 +02:00
Hritik Vijayandpanr 3ef14f49b2 Update USERS.md 2020-05-29 00:21:45 +02:00
Harsh Pandeyandpanr 9271d6ebf9 Made changes which were causing builds to fail
I updated ne to not and now it builds perfectly on zeit and netlify
2020-05-29 00:21:45 +02:00
Joel Knightandpanr bcd630ad2e Hide header and pagination footer when printing
Since the header and pagination footer contain links that help a reader
navigate the site in a browser, they serve little value on a printed
copy.
2020-05-29 00:21:45 +02:00
Joel Knightandpanr ca115e308e Don't truncate content in Firefox print preview 2020-05-29 00:21:45 +02:00
willstocksandpanr 4ef42a15b2 Implement multi-layer fallback
Cover image for anything that's not home (with fallback to favicon where cover is not set), and for anything that is home we use the favicon with fallback to the default color block

Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-05-29 00:21:45 +02:00
panr a52bef65ce Fix dependecies 2020-05-29 00:21:45 +02:00
Bernardo Gameiroandpanr 583d6c51c3 Update USERS.md 2020-05-29 00:21:44 +02:00
Ben Colemanandpanr 0570ab80bb Use description for og:description 2020-05-29 00:21:16 +02:00
Nanda Gopalandpanr 71618345a6 Updatr USERS.md 2020-05-29 00:21:16 +02:00
willstocksandpanr a53fe97fa1 Only populate og:image with cover if is set 2020-05-29 00:21:16 +02:00
willstocksandpanr c6a38c4b85 Add authorTwitter to post archetype
For Twitter cards
2020-05-29 00:21:16 +02:00
willstocksandpanr 76f28fb7ba Update twitter:creator with cleaner/multiple fallbacks 2020-05-29 00:21:16 +02:00
willstocksandpanr 3d067dea1b Only use isset check for twitter:site param
See https://gohugo.io/functions/isset/ - consistent with all other param checks in file
2020-05-29 00:21:16 +02:00
willstocksandpanr 8b51d587d8 Separate twitter card params 2020-05-29 00:21:16 +02:00
willstocksandpanr b9cfb8d360 Tweak twitter card tags to cater for new params 2020-05-29 00:21:16 +02:00
willstocksandpanr 87d7bf9ca1 Remove erroneous |
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-05-29 00:21:16 +02:00
willstocksandpanr 639fd7f5b1 Amend twitter params 2020-05-29 00:21:16 +02:00
willstocksandpanr 1dcf383f7d Twitter card + OG markup fixes
Remove Twitter card title, description and image (twitter cards fall back to OG markup for these elements).
Fix og:image url for non-home content
Conditionally show twitter:site tag
2020-05-29 00:21:16 +02:00
willstocksandpanr aaada1ee03 Include Twitter Card parameters 2020-05-29 00:21:16 +02:00
willstocksandpanr f2fd8fbc63 Fix twitter image url for non-home
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-05-29 00:21:16 +02:00
willstocksandpanr 1d47e2102a Update USERS.md 2020-05-29 00:21:16 +02:00
willstocksandpanr d8c6eca445 Add owner as a param for Twitter Card (creator) 2020-05-29 00:21:16 +02:00
willstocksandpanr 6a6a3ae75c Fix OpenGraph and Twitter meta tags
Title tags could be a little bloated as the subtitle was being appended. This should fall in to the description instead.
Also, if not looking at an individual post, there was no author being defined or site image.
2020-05-29 00:21:16 +02:00
willstocksandpanr d498a48f49 Update head.html 2020-05-29 00:21:16 +02:00
Zhai2333andpanr 11074eeb07 [^] upd: Update 404 2020-05-29 00:21:16 +02:00
Zhai2333andpanr 1a47dec920 [+] add: 404 Page 2020-05-29 00:21:16 +02:00
Dave Derderianandpanr bb19133255 remove site.params.toctile from if condition 2020-05-29 00:18:15 +02:00
Dave Derderianandpanr 460409971b add conditional table of contents 2020-05-29 00:16:13 +02:00
panr 67a5a0c82c Update 404 page 2020-05-29 00:07:58 +02:00
Radek KoziełandGitHub cf990015dd Merge pull request #51 from mochaaP/404-page
Add 404 Page
2020-05-28 23:57:19 +02:00
panr 72840fc527 Update list styling 2020-05-28 20:06:21 +02:00
Radek KoziełandGitHub 565186853e Merge pull request #27 from funayman/add-toc
Add conditional table of contents
2020-05-28 18:32:33 +02:00
Radek KoziełandGitHub 58ba445c9f Merge pull request #142 from Hritik14/patch-1
Update USERS.md
2020-05-17 23:56:45 +02:00
Radek KoziełandGitHub 7c754f2db2 Update USERS.md 2020-05-17 23:56:22 +02:00
Radek KoziełandGitHub d62c409035 Merge pull request #143 from return-to-libc/master
Update USERS.md
2020-05-17 23:55:37 +02:00
elraro 0afe80acc8 Update USERS.md 2020-05-01 02:10:29 +02:00
AlbertoandGitHub 25b1edd1db Merge pull request #1 from panr/master
remove pagnitaiton form sigle pages
2020-05-01 02:00:19 +02:00
Radek KoziełandGitHub ca56210123 Merge pull request #141 from billyogat/single-pages
remove pagination form sigle pages
2020-04-27 18:45:34 +02:00
Scott Anderson c5ee41ddae remove pagnitaiton form sigle pages 2020-04-27 09:14:14 -04:00
Hritik VijayandGitHub f5ef1950c8 Update USERS.md 2020-04-21 22:33:46 +05:30
Radek KoziełandGitHub e877df5bae Merge pull request #140 from brotherlymite/patch-1
Made changes which were causing builds to fail
2020-04-19 19:46:50 +02:00
Harsh PandeyandGitHub 1a181e05ae Made changes which were causing builds to fail
I updated ne to not and now it builds perfectly on zeit and netlify
2020-04-19 17:47:49 +05:30
Radek KoziełandGitHub 10351a6b9d Merge pull request #136 from knightjoel/issue/135
Don't truncate content in Firefox print preview
2020-04-14 01:47:07 +02:00
Radek KoziełandGitHub 0efdbb73f4 Merge pull request #137 from knightjoel/pr/cleaner_print
Hide header and pagination footer when printing
2020-04-14 01:38:39 +02:00
Joel Knight 3a0f200a91 Hide header and pagination footer when printing
Since the header and pagination footer contain links that help a reader
navigate the site in a browser, they serve little value on a printed
copy.
2020-04-05 15:22:18 -06:00
Joel Knight d56bb5398e Don't truncate content in Firefox print preview 2020-04-05 15:19:05 -06:00
Radek KoziełandGitHub e70a99243e Merge pull request #128 from willstocks/master
Only populate og:image with cover if is set
2020-04-04 17:21:37 +02:00
cd5a89ba3a Implement multi-layer fallback
Cover image for anything that's not home (with fallback to favicon where cover is not set), and for anything that is home we use the favicon with fallback to the default color block

Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-04-03 10:59:22 +01:00
Radek KoziełandGitHub f8ce76b7de Merge pull request #132 from nebloc/master
Use description for og:description
2020-04-01 19:50:07 +02:00
Radek KoziełandGitHub 944b03d983 Merge pull request #131 from Nanda-G/master
Update USERS.md
2020-04-01 19:48:25 +02:00
Radek KoziełandGitHub f8eb2e304f Merge branch 'master' into master 2020-04-01 19:48:17 +02:00
Radek KoziełandGitHub c21569654e Merge pull request #134 from BGameiro2000/patch-1
Update USERS.md
2020-04-01 19:47:39 +02:00
panr ce71263767 Fix dependecies 2020-04-01 19:47:02 +02:00
Bernardo GameiroandGitHub 5f72bf78e9 Update USERS.md 2020-03-31 21:54:35 +01:00
Ben Coleman 9143918f5a Use description for og:description 2020-03-29 16:07:41 +01:00
Nanda GopalandGitHub faf59f6d5d Updatr USERS.md 2020-03-29 16:27:33 +05:30
willstocksandGitHub 18af67974a Only populate og:image with cover if is set 2020-03-23 08:47:31 +00:00
Radek KoziełandGitHub bd1f2c75d0 Merge pull request #126 from willstocks/master
Tweak OpenGraph and Twitter meta tags
2020-03-20 18:15:30 +01:00
willstocksandGitHub 801db391a8 Add authorTwitter to post archetype
For Twitter cards
2020-03-20 10:53:10 +00:00
willstocksandGitHub 9d64a69092 Update twitter:creator with cleaner/multiple fallbacks 2020-03-20 09:21:20 +00:00
willstocksandGitHub 5ede34df2c Only use isset check for twitter:site param
See https://gohugo.io/functions/isset/ - consistent with all other param checks in file
2020-03-18 11:24:24 +00:00
willstocksandGitHub 6f5e42002e Separate twitter card params 2020-03-18 11:20:39 +00:00
willstocksandGitHub b39a2e93b7 Tweak twitter card tags to cater for new params 2020-03-18 11:20:14 +00:00
22098b16d9 Remove erroneous |
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-03-18 11:12:36 +00:00
willstocksandGitHub a89e972309 Amend twitter params 2020-03-16 11:07:04 +00:00
willstocksandGitHub a6ae1efab1 Twitter card + OG markup fixes
Remove Twitter card title, description and image (twitter cards fall back to OG markup for these elements).
Fix og:image url for non-home content
Conditionally show twitter:site tag
2020-03-16 11:05:35 +00:00
willstocksandGitHub 1b00e7e317 Include Twitter Card parameters 2020-03-16 11:01:48 +00:00
7f0bda3358 Fix twitter image url for non-home
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-03-16 10:52:14 +00:00
horochx 0b0c32c626 Change the style of the last update time 2020-03-11 23:05:58 +08:00
horochx 145a758159 Merge remote-tracking branch 'upstream/master' 2020-03-10 22:26:40 +08:00
willstocksandGitHub a3f51f61c7 Update USERS.md 2020-03-10 13:57:17 +00:00
willstocksandGitHub 6ed6715b5b Add owner as a param for Twitter Card (creator) 2020-03-10 12:28:08 +00:00
willstocksandGitHub b226e1dc8c Fix OpenGraph and Twitter meta tags
Title tags could be a little bloated as the subtitle was being appended. This should fall in to the description instead.
Also, if not looking at an individual post, there was no author being defined or site image.
2020-03-10 12:08:33 +00:00
willstocksandGitHub 6ef1bb1686 Update head.html 2020-03-10 12:03:11 +00:00
Radek KoziełandGitHub 0dc364f3e2 Merge pull request #113 from knightjoel/issue/26
Import shortcode to activate PrismJS plugins
2020-02-01 13:23:16 +01:00
Radek KoziełandGitHub 0b541b6f54 Merge pull request #124 from superusercode/patch-1
fix spelling error in example site
2020-02-01 13:07:07 +01:00
CodeandGitHub 6c186bd043 fix spelling error in example 2020-01-29 00:33:04 -05:00
Radek KoziełandGitHub 8ac2551ee2 Merge pull request #123 from oberbaum/patch-1
Update USERS.md
2020-01-28 08:53:21 +01:00
oberbaumandGitHub 172708334f Update USERS.md 2020-01-27 23:27:42 +01:00
Joel KnightandRadek Kozie. a1c203cb17 Apply suggestions from code review
Co-Authored-By: Radek Kozie. <radoslaw.koziel@gmail.com>
2020-01-26 14:53:18 -07:00
92cc5bcd23 Apply suggestions from code review
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-01-25 21:18:08 -07:00
panr 7c5c62e630 A little fix for anchor appearance 2020-01-24 08:21:30 +01:00
Radek KoziełandGitHub 49c8679b6c Merge pull request #120 from sophiabrandt/add-anchor-links
[feature] add anchor icon to heading anchors
2020-01-24 08:18:40 +01:00
Sophia Brandt ff3aa2316b improve: add fixes/suggestions from panr 2020-01-23 21:04:09 +01:00
e8fdb4e084 Update layouts/_default/single.html
Co-Authored-By: Radek Kozieł <radoslaw.koziel@gmail.com>
2020-01-23 20:56:58 +01:00
Sophia Brandt 2ab90a708e merge latest upstream 2020-01-23 20:50:13 +01:00
panr 0ff712efdb Update yarn.lock 2020-01-23 19:59:56 +01:00
Radek KoziełandGitHub 98ab575126 Merge pull request #116 from wooseopkim/feature/google-analytics
Add Google Analytics template
2020-01-23 19:37:43 +01:00
Radek KoziełandGitHub e61ad0ef07 Merge pull request #114 from dseverboven/patch-1
Update USERS.md
2020-01-23 19:36:25 +01:00
Radek KoziełandGitHub 4d7a3c2db3 Merge branch 'master' into patch-1 2020-01-23 19:36:10 +01:00
Radek KoziełandGitHub b6a5436f40 Merge pull request #119 from sophiabrandt/patch-1
add new user
2020-01-23 19:33:30 +01:00
Radek KoziełandGitHub 4f23e52472 Merge branch 'master' into patch-1 2020-01-23 19:33:00 +01:00
Radek KoziełandGitHub d30e8a50b0 Merge pull request #122 from qbunt/master
Added qbunt.com to USERS.md
2020-01-23 18:56:08 +01:00
Jeremy BuntingandGitHub 62531797e7 Added qbunt.com to USERS.md
Thanks for the theme, it's been amazing!
2020-01-22 08:58:55 -05:00
panr 20ce063397 Upload compiled style.css after line-numbers changes 2020-01-22 08:46:35 +01:00
panr 2fcbefa09f Fix line numbers alignment 2020-01-21 08:35:11 +01:00
panr 2bb3d3d49b Fix line-numbers and highlight styling 2020-01-20 00:02:26 +01:00
Radek KoziełandGitHub 3f6db97f02 Update README.md 2020-01-18 20:13:29 +01:00
Radek KoziełandGitHub c567dd61f9 Fix buymeacoffee buttton in README 2020-01-18 20:13:03 +01:00
Radek KoziełandGitHub c6c3eb8d54 Update README.md 2020-01-18 19:41:49 +01:00
Radek KoziełandGitHub 6c467105a2 Add sponsoring option and fix typo 2020-01-18 19:38:49 +01:00
Sophia Brandt 3aeb73a422 add anchor icon to heading anchors 2020-01-17 13:11:41 +01:00
Sophia BrandtandGitHub 4b05a64b5a add new user
add www.rockyourcode.com
2020-01-17 07:55:23 +01:00
Wooseop Kim fa95894458 Add Google Analytics template 2020-01-15 22:41:43 +09:00
Dawson VerbovenandGitHub 9e38f9ec99 Update USERS.md
added https://dawsonverboven.com/
2020-01-08 21:39:06 -08:00
Joel Knight ce97879d6c Import shortcode to activate PrismJS plugins
The shortcode takes named parameters that are relevant to the PrismJS
plugins that Terminal bundles.

- lang: the language contained in the code block
- line: the line number(s) to highlight
- line-numbers: displays line numbers in the margin
- command-line: activates the command-line plugin which modifies the
output to show a command line
- user: the username to display in the prompt (used with the command-line
parameter)
- host: the hostname to display in the prompt (used with the
command-line parameter)
- prompt: override the default prompt (used with the command-line
parameter)
- output: specifies which line(s) contain CLI output (used with the
command-line parameter)

Example:

{{< prismjs lang="bash" line="1,10-13" line-numbers="true"
command-line="true" host="jump1" user="joel" output="2-9" >}}
2020-01-08 21:43:39 -07:00
Radek KoziełandGitHub 48233660d8 Merge pull request #111 from turbo/patch-1
Add highlighting to README/config
2020-01-06 16:21:42 +01:00
turboandGitHub d2dc6b7bb9 Add highlighting to README/config 2020-01-06 13:34:17 +01:00
panr ec262730ac Fix/Change code block styling 2020-01-06 09:31:18 +01:00
panr 7ac0deff87 Add param to set default size for headings 2020-01-05 10:44:58 +01:00
Radek KoziełandGitHub ee93a3dcd5 Merge pull request #106 from andreacaravano/patch-1
Update USERS.md
2019-12-29 18:57:51 +01:00
AndreaandGitHub 8d2bb3cda7 Update USERS.md 2019-12-22 19:41:07 +01:00
Nuno Silva 10eae069d0 display index page content 2019-12-13 16:32:14 +00:00
Radek KoziełandGitHub 2a34760541 Update USERS.md 2019-12-01 09:48:29 +01:00
Radek KoziełandGitHub 791799e1d6 Merge pull request #103 from jTanG0506/patch-1
Update USERS.md
2019-12-01 09:47:52 +01:00
Jonathan TangandGitHub f4be21a1c3 Update USERS.md 2019-12-01 00:10:33 +00:00
Radek KoziełandGitHub ec1af25439 Merge pull request #100 from naxxfish/master
Add naxxfish.net to USERS.md
2019-11-10 09:24:13 +01:00
horochx 5786d01c09 build css 2019-11-06 23:02:00 +08:00
horochx c297ba66fc Change the showLastUpdated field in README.md to the default value 2019-11-06 22:54:24 +08:00
horochx ddd24c6c98 Merge branch 'master' of https://github.com/panr/hugo-theme-terminal 2019-11-06 22:46:47 +08:00
Chris Roberts 5d4b70d3a7 Add naxxfish.net to USERS.md 2019-11-03 15:56:07 +00:00
Radek KoziełandGitHub 2ea0eeeb7a Merge pull request #93 from jpanther/style-fixes
Fix unused blockquote style
2019-11-03 10:06:37 +01:00
Radek KoziełandGitHub fe147db973 Merge pull request #90 from eidoom/patch-1
Update USERS.md
2019-11-03 09:53:54 +01:00
Radek KoziełandGitHub 69bf17a9ad Merge branch 'master' into patch-1 2019-11-03 09:53:46 +01:00
Radek KoziełandGitHub b9c70a23ac Merge pull request #95 from schachem/patch-1
Update USERS.md
2019-11-03 09:53:16 +01:00
Radek KoziełandGitHub 0d3e1e62ab Merge branch 'master' into patch-1 2019-11-03 09:53:09 +01:00
Radek KoziełandGitHub 7b5dfbae03 Merge pull request #98 from kosmonavtika/patch-1
add lunar.computer
2019-11-03 09:52:33 +01:00
kosmonavtika e687203739 add lunar.computer 2019-10-31 22:47:46 +01:00
schachemandGitHub 64dea526de Update USERS.md 2019-10-27 22:04:47 +01:00
James Panther 1c40487df6 Remove unused blockquote style 2019-10-25 09:38:15 +11:00
Radek KoziełandGitHub dc93a293fd Merge pull request #92 from panr/dependabot/npm_and_yarn/mixin-deep-1.3.2
Bump mixin-deep from 1.3.1 to 1.3.2
2019-10-23 11:01:50 +02:00
dependabot[bot]andGitHub cedfaf6c5c Bump mixin-deep from 1.3.1 to 1.3.2
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-23 08:58:23 +00:00
Radek KoziełandGitHub f8fa62605d Merge pull request #91 from stanleynguyen/patch-1
Update USERS.md
2019-10-23 10:57:08 +02:00
Stanley NguyenandGitHub 53c70531d5 Update USERS.md 2019-10-23 11:57:24 +08:00
Ryan MoodieandGitHub 9d8b8d51fa Update USERS.md 2019-10-15 19:18:57 +01:00
horochx 213a39bcad Add last updated display, params.showLastUpdated and update README.md 2019-10-04 22:41:43 +08:00
Radek KoziełandGitHub 5f9bb738cd Merge pull request #83 from amine250/patch-1
Update USERS.md
2019-09-24 09:35:09 +02:00
AmineandGitHub 9a41d82cb8 Update USERS.md
Add zaine.me website
2019-09-16 01:47:48 +02:00
panr a81cf2dc29 Fix post width 2019-09-10 09:29:14 +02:00
Radek KoziełandGitHub fa71c00418 Merge pull request #82 from kongdivin/fix-page-navigation
Fix page navigation buttons
2019-09-10 09:26:00 +02:00
panr e40996148a Revert "Fix post list width"
This reverts commit 7652ceaa86.
2019-09-10 09:25:49 +02:00
Radek KoziełandGitHub c3ea6296af Merge pull request #80 from rpartha/rpartha-add-user
Update USERS.md
2019-09-10 09:22:52 +02:00
panr 7652ceaa86 Fix post list width 2019-09-10 09:21:50 +02:00
Divin Kong 2805450761 Fix page navigation buttons
Fixes panr/hugo-theme-terminal#81
2019-09-07 16:44:23 -07:00
Radek KoziełandGitHub 5057fd5521 Update theme.toml 2019-08-30 09:07:13 +02:00
Ramaseshan ParthasarathyandGitHub 99513dfa64 Update USERS.md 2019-08-29 22:55:07 -04:00
Zhai2333 1d9856db28 [^] upd: Update 404 2019-08-28 15:37:08 +08:00
panr fbcf98ae95 Make the font a little more dense 2019-08-25 10:08:21 +02:00
panr 060587ba38 Fix list.html 2019-08-25 09:38:23 +02:00
Radek KoziełandGitHub 8d8e93fa8d Merge pull request #72 from MoritzFago/fix-atribution
Fix attribution if copyright is set by user.
2019-08-24 08:06:18 +02:00
Radek KoziełandGitHub 4a4a820997 Merge pull request #73 from eldraco19/patch-1
Update USERS.md
2019-08-24 08:03:18 +02:00
Radek KoziełandGitHub f06332421c Merge pull request #74 from wilsandbrink/master
fixes broken page list
2019-08-14 23:00:51 +02:00
William Sandbrink 3d20322e3a fixes broken page list 2019-08-14 22:08:50 +02:00
Radek KoziełandGitHub 06b8259668 Update README.md 2019-08-13 16:41:24 +02:00
Radek KoziełandGitHub 2307f19909 Merge pull request #33 from Rinma/add-language-selector
Added option for language selector
2019-08-13 16:40:04 +02:00
Marvin DalheimerandGitHub 63b2c69f85 Remove unused css classes 2019-08-13 13:16:18 +02:00
Marvin Dalheimer 28dd0fadf9 Use ul instead of div and BEM naming 2019-08-13 08:44:40 +02:00
Marvin Dalheimer 270a135fca Add body listener for trigger closing language box 2019-08-13 08:44:06 +02:00
Ayush KarnandGitHub d2a00d0517 Update USERS.md 2019-08-11 15:20:53 +05:30
Moritz Fago 2bb48d5952 Fix attribution if copyright is set by user. 2019-08-09 01:44:24 +02:00
panr 24e901f460 Add keywords support to single page 2019-08-08 21:56:25 +02:00
Radek KoziełandGitHub 9c25182806 Merge pull request #71 from b0wter/master
Fixed broken link to post archtype.
2019-08-03 23:15:16 +02:00
Radek KoziełandGitHub 209f36287f Merge pull request #70 from nikodemusk/patch-1
Added my site to the list of Terminal users
2019-08-03 23:14:36 +02:00
Radek KoziełandGitHub 05da53db3a Merge pull request #68 from sagarladla/patch-1
Update USERS.md
2019-08-03 23:10:32 +02:00
Radek KoziełandGitHub 4739739afc Merge branch 'master' into patch-1 2019-08-03 23:10:24 +02:00
Radek KoziełandGitHub a13e8a1a7e Merge pull request #62 from sunshinekitty/patch-1
Update USERS.md
2019-08-03 23:09:52 +02:00
b0wterandGitHub 974dec46bb Fixed broken link to post archtype. 2019-07-27 21:23:53 +02:00
Nikodemus KarlssonandGitHub c4086a4f14 Added my site to the list of Terminal users 2019-07-25 07:22:09 +02:00
Sagar LadlaandGitHub 924a8c48a5 Update USERS.md 2019-07-21 03:50:09 +05:30
Radek KoziełandGitHub eb2d4eacff Merge pull request #64 from panr/dependabot/npm_and_yarn/lodash-4.17.14
Bump lodash from 4.17.11 to 4.17.14
2019-07-11 12:31:21 +02:00
Radek KoziełandGitHub f027e3ff0d Merge pull request #65 from panr/dependabot/npm_and_yarn/lodash.template-4.5.0
Bump lodash.template from 4.4.0 to 4.5.0
2019-07-11 12:31:11 +02:00
dependabot[bot]andGitHub 52c6c4c7a8 Bump lodash.template from 4.4.0 to 4.5.0
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-11 10:13:34 +00:00
dependabot[bot]andGitHub 35da736903 Bump lodash from 4.17.11 to 4.17.14
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-11 10:13:29 +00:00
Radek KoziełandGitHub 86bfa30e14 Merge pull request #63 from panr/dependabot/npm_and_yarn/lodash.merge-4.6.2
Bump lodash.merge from 4.6.1 to 4.6.2
2019-07-11 08:32:45 +02:00
dependabot[bot]andGitHub 056f7665d7 Bump lodash.merge from 4.6.1 to 4.6.2
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-11 06:32:33 +00:00
Radek KoziełandGitHub 6c2ad3a669 Merge pull request #61 from fengsi/patch-1
OCD cleanup
2019-07-08 17:03:58 +02:00
AlexandGitHub 950e9a63e4 Update USERS.md
add my blog :-)
2019-07-07 15:09:46 -06:00
Si FengandGitHub 0514e772ac OCD cleanup 2019-06-27 11:51:56 -07:00
Radek KoziełandGitHub 016f54c162 Merge pull request #59 from Gazzini/patch-1
adds johngazzini.com to Users.md
2019-06-25 20:16:51 +02:00
John GazziniandGitHub c2e83bf417 adds johngazzini.com to Users.md 2019-06-22 23:58:05 -05:00
Radek KoziełandGitHub 4b147d17d3 Merge pull request #58 from fengsi/patch-1
Update USERS.md
2019-06-20 23:45:03 +02:00
Radek KoziełandGitHub 899bc2ab47 Merge branch 'master' into patch-1 2019-06-20 23:44:55 +02:00
Radek KoziełandGitHub eb8cd5216e Merge pull request #57 from ben-on-vms/master
Update USERS.md
2019-06-20 23:43:44 +02:00
Si FengandGitHub e59e0170c3 Update USERS.md 2019-06-20 12:00:01 -07:00
ben-on-vmsandGitHub 85f01b1cc2 Update USERS.md 2019-06-20 19:12:31 +01:00
Radek KoziełandGitHub 02238f6e0f Merge pull request #53 from mserajnik/custom-css-link
Only insert custom CSS link if the file exists
2019-06-15 17:00:16 +02:00
Michael Serajnik 79b040a3ec Only insert custom CSS link if the file exists 2019-06-15 15:55:40 +02:00
Radek KoziełandGitHub 30410267ec Merge pull request #52 from Zhai2333/date-fix
Fix 0001-01-01 when date is none.
2019-06-14 19:05:06 +02:00
Zhai2333 786243dc1d [*] fix: 0001-01-01 when doesn't provide a date 2019-06-09 17:59:20 +08:00
Zhai2333 fda8cb9d20 [+] add: 404 Page 2019-06-09 17:52:52 +08:00
panr ae19c84baf Update packages 2019-06-08 12:47:07 +02:00
Zhai2333 83381f44e1 Update Gitignore 2019-06-08 13:57:55 +08:00
Radek KoziełandGitHub 5091a93ea2 Merge pull request #35 from Rinma/lang-sensitiv-tags
made tag link language-sensitiv
2019-05-24 09:51:47 +02:00
panr f7b4d6c934 Fix archetype name #42 2019-05-24 09:43:38 +02:00
panr 64b59a4e59 Fix RSS links #41 2019-05-24 09:36:06 +02:00
Radek KoziełandGitHub 2781f35b83 Merge pull request #40 from vaibhav-y/patch-1
Add calloc.net to USERS.md
2019-05-21 20:32:45 +02:00
Radek KoziełandGitHub 26c5ebfc20 Merge branch 'master' into patch-1 2019-05-21 20:32:37 +02:00
Radek KoziełandGitHub 39407e9dc1 Merge pull request #44 from Pneumaticat/patch-1
Add potatofrom.space to USERS.md
2019-05-21 20:32:07 +02:00
Radek KoziełandGitHub 46645d2782 Merge branch 'master' into patch-1 2019-05-21 20:31:58 +02:00
Radek KoziełandGitHub a69547e06e Merge pull request #45 from horochx/patch-1
Update USERS.md
2019-05-21 20:30:36 +02:00
horochxandGitHub f1ff5d0c66 Update USERS.md 2019-05-19 14:39:01 +08:00
Kevin LiuandGitHub 4c9b24ea14 Add potatofrom.space to USERS.md 2019-05-12 11:14:06 -04:00
Vaibhav YenamandraandGitHub 57ab52dd84 Add @vaibhav-y to USERS.md 2019-04-29 22:10:52 -04:00
Marvin Dalheimer bc9b801e5f made tag link language-sensitiv 2019-04-05 08:18:21 +02:00
Radek KoziełandGitHub a28c65d411 Update USERS.md 2019-04-03 00:11:03 +02:00
Radek KoziełandGitHub f901435935 Merge pull request #34 from mike-alex/patch-1
Update USERS.md
2019-04-03 00:10:46 +02:00
Mike alexandGitHub 108a966b12 Update USERS.md
add my blog with the theme terminal
2019-04-02 00:13:19 -06:00
Marvin Dalheimer 10b545bb86 Added option for language selector
Implemented a language selector submenu that can be turned on or off by a config value.

Resolves: panr/hugo-theme-terminal#31
2019-04-01 21:44:39 +02:00
Radek KoziełandGitHub 3f58f9834f Merge pull request #32 from devmaster64/patch-1
Add devmaster64's blog to users.md
2019-04-01 17:48:47 +02:00
devmaster64andGitHub c2c43bb34a Add devmaster64's blog to users.md 2019-04-01 20:10:28 +05:30
Radek KoziełandGitHub dbeb0f7c98 Merge branch 'master' into add-toc 2019-03-31 19:42:05 +02:00
panr bacfb1a95a Remove unnecessary code 2019-03-31 19:38:11 +02:00
Radek KoziełandGitHub 6bf52c0f77 Update post.md 2019-03-31 19:31:34 +02:00
Radek KoziełandGitHub bccf419102 Update README.md 2019-03-31 19:30:56 +02:00
panr e938e972b6 Fix format 2019-03-31 19:28:38 +02:00
panr 13e0079b23 Add post archetype 2019-03-31 19:24:16 +02:00
panr 50e36736c6 Allow to show full content on list 2019-03-31 19:18:43 +02:00
Dave Derderian 034efcb463 remove unnecessary if statement 2019-03-25 13:12:59 +09:00
Dave Derderian 5efec67714 remove site.params.toctile from if condition 2019-03-25 12:00:41 +09:00
Dave Derderian 5987519fd6 add global, local, default TOC 2019-03-25 11:56:59 +09:00
Dave Derderian 3cf9638af1 add conditional table of contents 2019-03-21 08:40:07 +09:00
panr bca791fe8c Fix menuMore null error 2019-03-17 17:49:06 +01:00
Radek KoziełandGitHub 54e5006109 Merge pull request #19 from RPGillespie6/make_favicon_configurable
Make favicon configurable
2019-03-16 18:00:27 +01:00
RPGillespie6 27462e1893 Make favicon configurable
Fix #18
2019-03-13 18:56:57 -04:00
Radek KoziełandGitHub 9928ada9ad Update README.md 2019-03-06 01:13:31 +01:00
Radek KoziełandGitHub ba816147f5 Update README.md 2019-03-06 01:03:29 +01:00
Radek KoziełandGitHub e55014bdbc Create USERS.md 2019-03-06 01:02:32 +01:00
Radek KoziełandGitHub b484629dc5 Update README.md 2019-03-06 01:01:50 +01:00
Radek KoziełandGitHub 0d246fc9f1 Update README.md 2019-03-06 01:00:08 +01:00
Radek KoziełandGitHub efad1bff26 Merge pull request #16 from kalbasit/hugo-theme-terminal_allow-custom-javascript
render an extended placeholder for head and footer
2019-03-06 00:49:59 +01:00
Wael M. Nasreddine 00296f07b4 rename the partials to extended_head and extended_footer 2019-03-04 14:20:48 -08:00
Wael M. Nasreddine c375d4ce5d remove the example header and footer 2019-03-04 14:18:30 -08:00
panr 880c995489 Rebuild theme 2019-03-02 01:27:19 +01:00
Radek KoziełandGitHub 4eedc6a39a Update config.toml 2019-03-02 01:17:33 +01:00
Radek KoziełandGitHub c8f251ce9c Update README.md 2019-03-02 01:16:46 +01:00
Radek KoziełandGitHub 7ad1783021 Merge pull request #1 from newhinton/master
Add ability to center the content via Parameter
2019-03-02 01:13:49 +01:00
Radek KoziełandGitHub 70cf7406fd Update README.md 2019-03-02 01:13:27 +01:00
newhintonandGitHub 8fe7d51b94 Merge branch 'master' into master 2019-02-28 14:57:20 +01:00
Wael M. Nasreddine 4b959d0aa6 partials/footer: render a placeholder custom_footer.html 2019-02-26 00:38:49 -08:00
Wael M. Nasreddine 1cf2b933a3 partials/head: render a placeholder custom_head.html 2019-02-26 00:35:27 -08:00
Felix Nüsse 88ed5a0bef Updated CSS and refined width-logic 2019-02-26 09:30:10 +01:00
Radek KoziełandGitHub 487876daf1 Merge pull request #15 from stav/master
Use correct stylesheet name
2019-02-26 00:18:32 +01:00
Steven Almeroth 20b48f398e Use correct stylesheet name 2019-02-25 15:13:28 -05:00
Radek KoziełandGitHub 077fade121 Merge pull request #12 from andreas-h/patch-1
Fix typo in comment
2019-02-24 18:02:57 +01:00
Andreas HilbollandGitHub bb7ad5779f Fix typo in comment 2019-02-24 13:53:19 +01:00
7cb7fc284c Update README.md
Co-Authored-By: newhinton <newhinton@users.noreply.github.com>
2019-02-17 11:10:21 +01:00
panr d005155fa5 Add comment partial 2019-02-15 00:38:45 +01:00
Radek KoziełandGitHub 51d1b12820 Merge pull request #7 from sgaduuw/trailingslash
Add a trailing slash to URLs generated for tags
2019-02-14 02:08:56 +01:00
Eelco Wesemann d4f8fea87c Add a trailing slash to URLs generated for tags 2019-02-13 13:00:20 +01:00
Radek KoziełandGitHub b746766d0e Merge pull request #5 from ffluegel/patch-1
Removed inline style
2019-02-11 10:11:02 +01:00
panr 4e7ac981d2 Fixes 2019-02-09 09:11:56 +01:00
ffluegelandGitHub 7a5bad13b3 Update style.css 2019-02-09 01:22:16 +01:00
ffluegelandGitHub ec98c7bc11 Update header.css 2019-02-09 01:19:37 +01:00
ffluegelandGitHub 4f399128b2 Removed inline style 2019-02-09 01:07:00 +01:00
panr 8a8e73461e Change post cover path 2019-02-09 00:40:11 +01:00
panr fd42c5953e Update dependencies 2019-02-09 00:35:54 +01:00
panr 36bae52cd3 Fix layout 2019-02-09 00:33:42 +01:00
Radek KoziełandGitHub 6a0931d54a Merge pull request #3 from sgaduuw/sgaduuw-fix-h1
Fix h1 close tag for post-title
2019-02-06 10:58:43 +01:00
Eelco WesemannandGitHub 90cd4fe1b6 Fix h1 close tag for post-title 2019-02-05 10:49:54 +01:00
Felix Nüsse db29d33536 updated readme
Signed-off-by: Felix Nüsse <Felix.nuesse@t-online.de>
2019-02-03 16:01:43 +01:00
Felix Nüsse 0d2a41242a added parameter for centered view
Signed-off-by: Felix Nüsse <Felix.nuesse@t-online.de>
2019-02-03 16:00:13 +01:00
panr e6f8847460 Fix menu 2019-02-01 16:00:11 +01:00
panr 4a462a4a21 Update README 2019-02-01 10:15:28 +01:00
panr ebdcc29a72 Add table and figure styles 2019-02-01 09:26:51 +01:00
panr 88d7d5ddba Add menu trigger to desktop 2019-02-01 08:39:12 +01:00
panr 4254f4c314 Add menu item counter to config 2019-01-31 22:06:54 +01:00
panr 02f9e07029 Add homepage to theme.toml 2019-01-30 10:32:30 +01:00
panr 446691ba59 Fix layout and code highlighting 2019-01-29 18:59:59 +01:00
Radek KoziełandGitHub cdc9966d26 Update theme.toml 2019-01-29 18:14:06 +01:00
panr a459eacc56 Move hello.jpg to exampleSite 2019-01-29 14:54:10 +01:00
panr 802b2f1312 Fix typos 2019-01-29 11:18:14 +01:00
panr e65d3fbbc8 Typo fixes 2019-01-29 11:07:58 +01:00
panr 6c68bd63ae Fix absURL paths and exampleSite 2019-01-29 10:48:49 +01:00
Radek KoziełandGitHub abf763d2cc Update README.md 2019-01-29 09:10:06 +01:00
Radek KoziełandGitHub fcc952469c Update config.toml 2019-01-29 09:09:40 +01:00
panr da3f788741 Fix typo 2019-01-28 16:52:00 +01:00
panr 0b31242d03 Fix demo content & readme 2019-01-28 16:41:56 +01:00
panr 92bb0e7ac1 Font fixes 2019-01-28 09:34:12 +01:00
Radek KoziełandGitHub baf5066f1c Update README.md 2019-01-28 01:36:15 +01:00
panr f7703b5d09 Fix typos and Readme 2019-01-28 01:28:30 +01:00
panr 410393558b Fix example config 2019-01-28 01:24:55 +01:00
panr 4b207e3849 Compile files 2019-01-28 01:15:19 +01:00
panr 86562b8241 Init 2019-01-28 01:11:02 +01:00
80 changed files with 5791 additions and 9432 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ rules:
- as-needed
semi:
- 2
- always
- never
class-methods-use-this: 0
comma-dangle:
- 2
@@ -33,7 +33,7 @@ rules:
func-names: 0
quotes:
- 2
- double
- single
- allowTemplateLiterals: true
no-underscore-dangle: 0
object-curly-newline: 0
-3
View File
@@ -88,6 +88,3 @@ typings/
.dynamodb/
# End of https://www.gitignore.io/api/node
public
resources
.hugo_build.lock
+27
View File
@@ -0,0 +1,27 @@
const url = require("postcss-url");
const imports = require("postcss-import");
const nested = require("postcss-nested");
const postCSSPresetEnv = require("postcss-preset-env");
const cssnano = require("cssnano");
const color = require("postcss-color-mod-function");
const mixins = require("postcss-mixins");
module.exports = () => ({
plugins: [
url,
imports,
mixins,
nested,
postCSSPresetEnv({
stage: 1,
preserve: true,
features: {
"custom-properties": true,
},
}),
cssnano({
preset: "default",
}),
color,
],
});
-1
View File
@@ -2,7 +2,6 @@
"parser": "babel",
"printWidth": 100,
"trailingComma": "all",
"arrowParens": "avoid",
"overrides": [{
"files": ".html",
"options": {
-10
View File
@@ -1,10 +0,0 @@
{
"extends": [
"stylelint-config-standard-scss",
"stylelint-config-prettier-scss"
],
"rules": {
"max-empty-lines": 1
}
}
+43 -79
View File
@@ -1,20 +1,9 @@
# Terminal
## The theme is no longer maintained, but can still be used
Even if the repository is archived you can still use the theme, fork it, download it, expand it, etc. Remember that each Hugo theme is a module that can be modified to match your needs. The theme is fully "open" and it depends only on the internal engines implemented in Hugo.
The theme brings many useful features thanks to [all people that contributed to it](https://github.com/panr/hugo-theme-terminal/graphs/contributors) (I want to thank you all!). At the time of archiving the theme has reached 9th place on the [official Hugo Themes list](https://themes.gohugo.io/). This is huge! Thanks to you!
----
![Terminal](https://github.com/panr/hugo-theme-terminal/blob/master/images/screenshot.png?raw=true)
### DEMO - https://hugo-terminal.now.sh/
### ⚠️ The theme needs at least Hugo **Extended** v0.90.x.
---
- [Features](#features)
@@ -25,11 +14,11 @@ The theme brings many useful features thanks to [all people that contributed to
- [How to configure](#how-to-configure)
- [Post archetype](#post-archetype)
- [Add-ons](#add-ons)
- [How to edit the theme](#how-to-edit)
- [How to (safely) edit the theme](#how-to-edit)
- [Found a bug?](#bug)
- [New cool idea or feature](#feature)
- [Terminal theme user?](#terminal-theme-user)
- [License](#license)
- [Licence](#licence)
## Features
@@ -37,7 +26,6 @@ The theme brings many useful features thanks to [all people that contributed to
- [**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
- fully based on Hugo ecosystem (Pipes and Modules)
#### Built-in shortcodes
@@ -93,64 +81,25 @@ A custom syntax highlighting based on PrismJS. All you need to do is to wrap you
You can download the theme manually by going to [https://github.com/panr/hugo-theme-terminal.git](https://github.com/panr/hugo-theme-terminal.git) and pasting it to `themes/terminal` in your root directory.
You can also choose **one of the 3 possibilities** to install the theme:
You can also clone it directly to your Hugo folder:
1. as Hugo Module
2. as a standalone local directory
3. as a git submodule
⚠️ The theme needs at least Hugo **Extended** v0.90.x.
### Install theme as Hugo Module
```bash
# If this is the first time you're using Hugo Modules
# in your project. You have to initiate your own module before
# you fetch the theme module.
#
# hugo mod init [your website/module name]
hugo mod get github.com/panr/hugo-theme-terminal/v3
```
git clone -b webpack https://github.com/panr/hugo-theme-terminal.git themes/terminal
```
and in your config file add:
If you don't want to make any radical changes, it's the best option, because you can get new updates when they are available. You can also include it as a git submodule:
```toml
[module]
# this is needed when you fetch the theme as a submodule to your repo.
# replacements = "github.com/panr/hugo-theme-terminal -> themes/terminal"
[[module.imports]]
path = 'github.com/panr/hugo-theme-terminal/v3'
```
git submodule add -b webpack -f https://github.com/panr/hugo-theme-terminal.git themes/terminal
```
Keep in mind that the theme by default won't show up in the `themes` directory. This means that you are using the theme as it was on the repository at the moment you fetched it. Your local `go.sum` file keeps all the references. Read more about Hugo Modules in the [official documentation](https://gohugo.io/hugo-modules/).
### Install theme locally
```bash
git clone https://github.com/panr/hugo-theme-terminal.git themes/terminal
```
This will clone the repository directly to the `themes/terminal` directory.
### Install theme as a submodule
```bash
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.
⚠️ If you encounter any issues with:
```bash
Error: module "terminal" not found; either add it as a Hugo Module or store it in "[...your custom path]/themes".: module does not exist
```
then please try to remove `theme = "terminal"` from your config file.
⚠️ **The theme needs at least Hugo version 0.74.x**.
## How to run your site
```bash
If you installed all needed `npm` dependencies, then you can run:
```
hugo server -t terminal
```
@@ -163,8 +112,6 @@ The theme doesn't require any advanced configuration. Just copy:
```toml
baseurl = "/"
languageCode = "en-us"
# Add it only if you keep the theme in the `themes` directory.
# Remove it if you use the theme as a remote Hugo Module.
theme = "terminal"
paginate = 5
@@ -240,8 +187,6 @@ paginate = 5
olderPosts = "Older posts"
missingContentMessage = "Page not found..."
missingBackButtonLabel = "Back to home page"
minuteReadingTime = "min read"
words = "words"
[languages.en.params.logo]
logoText = "Terminal"
@@ -256,14 +201,6 @@ paginate = 5
identifier = "showcase"
name = "Showcase"
url = "/showcase"
[module]
# In case you would like to make changes to the theme and keep it locally in you repository,
# uncomment the line below (and correct the local path if necessary).
# --
# replacements = "github.com/panr/hugo-theme-terminal -> themes/terminal"
[[module.imports]]
path = 'github.com/panr/hugo-theme-terminal'
```
to `config.toml` file in your Hugo root directory and change params fields. In case you need, here's [a YAML version](https://gist.github.com/panr/9eeea6f595c257febdadc11763e3a6d1).
@@ -280,11 +217,39 @@ See the default `post` file params supported by the theme — https://github.com
- **Extended Head** — please take a look at `layouts/partials/extended_head.html` https://github.com/panr/hugo-theme-terminal/blob/master/layouts/partials/extended_head.html
- **Extended Footer** — please take a look at `layouts/partials/extended_footer.html` https://github.com/panr/hugo-theme-terminal/blob/master/layouts/partials/extended_footer.html
## How to edit the theme <a id="how-to-edit" />
## How to (safely) edit the theme <a id="how-to-edit" />
If you are using as a remote Hugo Module (you don't have the theme files in the `theme/terminal`) and you have to override only some of the styles, you can do this easily by adding `static/style.css` in your root directory and point things you want to change.
If you have to override only some of the styles, you can do this easily by adding `static/style.css` in your root directory and point things you want to change.
If you have the theme files in the theme directory, then you can directly edit anything in the theme, you just have to go to `themes/terminal` and modify the files. No compilation step needed.
To change something directly in the theme, you have to go to `themes/terminal` and modify the files.
First, you need to install Node dependencies. To do so, go to the theme directory (from your Hugo root directory):
```bash
cd themes/terminal
```
then run:
```bash
npm install
npm i yarn
yarn
```
After you modified the files you can run webpack in watch mode:
```bash
yarn dev
```
or rebuild theme
```bash
yarn build
```
To see the changes (remember to restart `hugo server`).
## Found a bug? <a id="bug" />
@@ -311,7 +276,6 @@ Sounds OK? Cool, let's rock! 🤘
I'd be happy to know more about you and what you are doing. If you want to share it, please make a contribution and [add your site to the list](https://github.com/panr/hugo-theme-terminal/blob/master/USERS.md)! 🤗
## License
Copyright © 2019-2022 Radosław Kozieł ([@panr](https://twitter.com/panr))
+16 -9
View File
@@ -1,20 +1,27 @@
# Meet the users of Terminal theme!
- https://xicode.se **magistern** (Teacher)
- https://devmaster64.com **devmaster64** (Software Developer)
- https://mickie1.gitlab.io/blog/ **mickie** (Engineer)
- https://calloc.net **Vaibhav Yenamandra** (Software Engineer)
- https://potatofrom.space **Kevin Liu** (Software)
- https://horochx.org **horochx** (Software Developer)
- https://feng.si **Si Feng** (Software Engineer)
- https://ben-on-vms.com **Benedikt Frenzel** (Technical Support Engineer)
- https://johngazzini.com **John Gazzini** (Software Engineer)
- https://geekx.tech/ **Sagar Ladla** (Student Developer & Cyber Security Specialist)
- https://tears.io/ **Alex** (SRE)
- https://ayushkarn.me/ **Ayush Karn** (Student Developer)
- https://ssgram.dev **Ramaseshan Parthasarathy** (Software Developer)
- https://zaine.me **Amine Zaine** (Cloud Engineer)
- https://notes.dmaitre.phyip3.dur.ac.uk/computing-club/ **Ryan Moodie** (Physics PhD student)
- https://thecodecousins.com **Stanley Nguyen** (Software Engineer) & **Hoang Do** (Software & IoT Engineer)
- https://schacherbauer.dev **Markus Schacherbauer** (Student Developer)
- https://rinma.dev **Marvin Dalheimer** (Software Developer)
- https://lunar.computer **Lunar Computer** (DevOps Engineer)
- https://naxxfish.net **Chris Roberts** (Broadcast Systems Engineer)
- https://security.jtang.dev **Jonathan Tang** (Student & Software Engineer)
- https://andreacaravano.net **Andrea Caravano** (Student)
- https://dawsonverboven.com/ **Dawson Verboven** (Student & Software Developer)
- https://qbunt.com **Jeremy Bunting** (Software Engineer)
- https://smeik.org **Smeik** (Embedded Developer)
- https://code.willstocks.co.uk **Will Stocks** (Blogger & Developer)
@@ -23,9 +30,12 @@
- https://bgameiro.me/ **Bernardo Gameiro** (Engineer Physicist student)
- https://return-to-libc.com/ **elraro** (Cyber Security Specialist)
- https://pablart.com/ **Pablo Diaz-Gutierrez** (Software Engineer, General Tinkerer)
- https://waterloos.niflheimr.blue/ **cindrmon** (Student and Aspiring Software Engineer)
- https://monocle.rpod.club/ **classx** (DevOps Engineer)
- https://erisianrite.com/ **ErisianRite** (Coding, Engineering, Tools for Thought)
- https://wjdevschool.com/ **Wojciech Bogócki** (Making Things & Teaching / W&J Dev School)
- https://dongzhi.me **Joe** (Software Developer)
- https://isaes.com.tr/ **Isa Es** (Software Engineer)
- https://conight.com **Conight Wang** (Software Engineer)
- https://blog.m5e.de/ **Christoph Miksche** (Software Developer)
- https://mpostument.com/ **Maksym Postument** (DevOps Engineer)
- https://mathiejosh.xyz **Josh Mathie** (Electrical Engineering Technology Student/Sales and Engineering Tech)
@@ -33,6 +43,8 @@
- https://blog.puvvadi.me **KD Puvvadi** (Software Dev & Cloud Orchestrator)
- https://hidden.land/ **Louisload** (Game Developer & Musician)
- https://linuxbase.nl **Michael Trip** (DevOps Engineer)
- https://markopolo123.github.io **Markopolo** (DevOps Engineer)
- https://openfoxblog.leven.dev/ **Damon Leven** (Student & Software Developer)
- https://blog.sethforprivacy.com **Seth For Privacy** (Security, privacy, and cryptocurrency writer, podcaster)
- https://thesprawl.city **crish** (Software and stuff)
- https://justinnuwin.com **Justin Nguyen** (Software & Hardware Developer)
@@ -42,20 +54,16 @@
- https://biplav.xyz **Biplav's Blog** (Student)
- https://santiago.wtf **Nicholas Santiago** (DevOps Engineer)
- https://2200g.github.io/ **2200g** (Blogger/Student)
- https://cristiioan.me **Cristian Margine** (Student)
- https://they.mint.lgbt **Joey Aliaga** (Software Developer & Student)
- https://tatewilhelm.me **Tate Wilhelm** (Student, Programmer & Tinkerer)
- https://mikefoden.com **Mike Foden** (Software Developer)
- https://undemalum.github.io/portfolio/ **Mateusz Konat** (Student)
- https://ku0hn.radio **Ben Kuhn** (Ham Radio Operator, InfoSec Engineer, Tinkerer)
- https://bg117.xyz/projects **bg117** (Student and Hobby Programmer)
- https://www.grumpymetalguy.com **GrumpyMetalGuy** (General Grumper and Developer)
- https://blog.jontes.page **Jonte** (general tech geek)
- https://nazdarthegame.com/ **Michal Skoula** (Software Developer)
- https://1mup.myorange.house **Antonio Garosi** (Street art gallery)
- https://kitchvx.github.io **Nathan Kitching** (IT Student)
- https://dgood.win **Dom Goodwin** (Platform Engineer)
- https://sir-photch.xyz **Sir-Photch** (ComSci-student. German Blog)
- https://drewmorris.info **Drew Morris** (Mathematician && Computer Scientist)
- https://blog.darkiiiiiice.com **MarioMang** (Software Developer)
<!--
TEMPLATE:
@@ -63,4 +71,3 @@
- https://radoslawkoziel.pl **Radek Kozieł** (Software Designer and Developer)
-->
-1
View File
@@ -10,5 +10,4 @@ description = ""
showFullContent = false
readingTime = false
hideComments = false
color = "" #color from the theme settings
+++
@@ -12,13 +12,12 @@ a.button {
align-items: center;
justify-content: center;
padding: 8px 18px;
margin: 5px 0;
margin-bottom: 5px;
text-decoration: none;
text-align: center;
border-radius: 8;
border: 1px solid $accent;
background: $accent;
color: $background;
border-radius: 0;
border: 1px solid var(--accent);
background: var(--accent);
font: inherit;
font-weight: bold;
appearance: none;
@@ -26,7 +25,7 @@ a.button {
outline: none;
&:hover {
background: transparentize($accent, .1);
background: color-mod(var(--accent) a(90%));
}
/* variants */
@@ -64,7 +63,7 @@ a.read-more:hover,
a.read-more:active {
display: inline-flex;
border: none;
color: $accent;
color: var(--accent);
background: none;
box-shadow: none;
padding: 0;
+6 -6
View File
@@ -1,5 +1,5 @@
.collapsable-code {
$border-color: mix($accent, #999, 90%);
--border-color: color-mod(var(--accent) blend(#999 90%));
position: relative;
width: 100%;
@@ -39,13 +39,13 @@
min-width: 30px;
min-height: 30px;
margin: 0;
border-bottom: 1px solid $border-color;
border-bottom: 1px solid var(--border-color);
cursor: pointer;
}
&__title {
flex: 1;
color: $accent;
color: var(--accent);
padding: 3px 10px;
text-overflow: ellipsis;
white-space: nowrap;
@@ -53,15 +53,15 @@
}
&__language {
color: $accent;
border: 1px solid $border-color;
color: var(--accent);
border: 1px solid var(--border-color);
border-bottom: none;
text-transform: uppercase;
padding: 3px 10px;
}
&__toggle {
color: $accent;
color: var(--accent);
font-size: 16px;
padding: 3px 10px;
+14
View File
@@ -0,0 +1,14 @@
@import '../main.css';
@import '../header.css';
@import '../logo.css';
@import '../pagination.css';
@import '../post.css';
@import '../syntax.css';
@import '../variables.css';
:root {
--accent: #23B0FF;
--background: color-mod(var(--accent) blend(#1D1E28 98%));
--color: white;
--border-color: rgba(255, 255, 255, .1);
}
-1
View File
@@ -1 +0,0 @@
$accent: #23B0FF;
+14
View File
@@ -0,0 +1,14 @@
@import '../main.css';
@import '../header.css';
@import '../logo.css';
@import '../pagination.css';
@import '../post.css';
@import '../syntax.css';
@import '../variables.css';
:root {
--accent: #78E2A0;
--background: color-mod(var(--accent) blend(#1D1E28 98%));
--color: white;
--border-color: rgba(255, 255, 255, .1);
}
-1
View File
@@ -1 +0,0 @@
$accent: #78E2A0;
-1
View File
@@ -1 +0,0 @@
$accent: #FFA86A;
+14
View File
@@ -0,0 +1,14 @@
@import '../main.css';
@import '../header.css';
@import '../logo.css';
@import '../pagination.css';
@import '../post.css';
@import '../syntax.css';
@import '../variables.css';
:root {
--accent: #EE72F1;
--background: color-mod(var(--accent) blend(#1D1E28 98%));
--color: white;
--border-color: rgba(255, 255, 255, .1);
}
-1
View File
@@ -1 +0,0 @@
$accent: #EE72F1;
+14
View File
@@ -0,0 +1,14 @@
@import '../main.css';
@import '../header.css';
@import '../logo.css';
@import '../pagination.css';
@import '../post.css';
@import '../syntax.css';
@import '../variables.css';
:root {
--accent: #FF6266;
--background: color-mod(var(--accent) blend(#1D1E28 98%));
--color: white;
--border-color: rgba(255, 255, 255, .1);
}
-1
View File
@@ -1 +0,0 @@
$accent: #FF6266;
@@ -4,6 +4,7 @@
font-style: normal;
font-weight: 400;
src: url("../fonts/FiraCode-Regular.woff") format("woff");
font-display: swap;
}
@font-face {
@@ -12,4 +13,5 @@
font-style: normal;
font-weight: 800;
src: url("../fonts/FiraCode-Bold.woff") format("woff");
font-display: swap;
}
@@ -11,7 +11,7 @@
width: 760px;
max-width: 100%;
@media ($tablet) {
@media (--tablet) {
flex-direction: column;
}
}
@@ -22,11 +22,10 @@
.copyright {
display: flex;
flex-flow: row wrap;
flex: 1;
flex-direction: row;
align-items: center;
font-size: 1rem;
justify-content: center;
color: var(--light-color-secondary);
&--user {
margin: auto;
@@ -35,10 +34,17 @@
& > *:first-child:not(:only-child) {
margin-right: 10px;
@media (--tablet) {
border: none;
padding: 0;
margin: 0;
}
}
span {
white-space: nowrap;
@media (--tablet) {
flex-direction: column;
margin-top: 10px;
}
}
}
+30
View File
@@ -0,0 +1,30 @@
input, textarea, select {
background: transparent;
color: var(--accent);
border: 1px solid var(--accent);
border-radius: 0;
padding: 10px;
font: inherit;
appearance: none;
&:focus, :active {
border-color: var(--color);
outline: 1px solid var(--color);
}
&:active {
box-shadow: none;
}
}
select {
background: var(--background);
option {
background: var(--background);
}
}
::placeholder {
color: color-mod(var(--accent) a(50%));
}
-43
View File
@@ -1,43 +0,0 @@
input, textarea, select {
background: transparent;
color: $accent;
border: 1px solid $accent;
border-radius: 0;
padding: 10px;
margin: 5px 0;
font: inherit;
appearance: none;
&:focus, :active {
border-color: $color;
outline: 1px solid $color;
}
&:active {
box-shadow: none;
}
}
select {
background: $background;
option {
background: $background;
}
}
::placeholder {
color: transparentize($accent, .5);
}
input {
&[type="checkbox"] {
vertical-align: middle;
padding: 10px;
box-shadow: inset 0 0 0 3px $background;
&:checked {
background: $accent;
}
}
}
+162
View File
@@ -0,0 +1,162 @@
@define-mixin menu {
position: absolute;
background: var(--background);
box-shadow: var(--shadow);
color: white;
border: 2px solid;
margin: 0;
padding: 10px;
list-style: none;
z-index: 99;
}
.header {
display: flex;
flex-direction: column;
position: relative;
@media print {
display: none;
}
&__inner {
display: flex;
align-items: center;
justify-content: space-between;
}
&__logo {
display: flex;
flex: 1;
&:after {
content: '';
background: repeating-linear-gradient(90deg, var(--accent), var(--accent) 2px, transparent 0, transparent 10px);
display: block;
width: 100%;
right: 10px;
}
a {
flex: 0 0 auto;
max-width: 100%;
text-decoration: none;
}
}
.menu {
--shadow-color: color-mod(var(--background) a(80%));
--shadow: 0 10px var(--shadow-color), -10px 10px var(--shadow-color), 10px 10px var(--shadow-color);
margin: 20px 1px;
@media (--phone) {
@mixin menu;
top: 50px;
right: 0;
}
&__inner {
display: flex;
flex-wrap: wrap;
list-style: none;
margin: 0;
padding: 0;
&--desktop {
@media (--phone) {
display: none;
}
}
&--mobile {
display: none;
@media (--phone) {
display: block;
}
}
li {
&:not(:last-of-type) {
margin-right: 20px;
margin-bottom: 10px;
flex: 0 0 auto;
}
}
@media (--phone) {
flex-direction: column;
align-items: flex-start;
padding: 0;
li {
margin: 0;
padding: 5px;
}
}
}
&__sub-inner {
position: relative;
list-style: none;
padding: 0;
margin: 0;
&:not(:only-child) {
margin-left: 20px;
}
&-more {
@mixin menu;
top: 35px;
left: 0;
&-trigger {
color: var(--accent);
user-select: none;
cursor: pointer;
}
li {
margin: 0;
padding: 5px;
white-space: nowrap;
}
}
}
.spacer {
flex-grow: 1;
}
.language-selector {
position: relative;
list-style: none;
margin: 0;
&-current {
list-style-type: none;
display: flex;
flex-direction: row;
color: var(--accent);
cursor: pointer;
margin: 0;
}
&__more {
@mixin menu;
top: 35px;
right: 0;
}
}
&-trigger {
color: var(--accent);
border: 2px solid;
margin-left: 10px;
height: 100%;
padding: 3px 8px;
position: relative;
}
}
}
-34
View File
@@ -1,34 +0,0 @@
.header {
display: flex;
flex-direction: column;
position: relative;
@media print {
display: none;
}
&__inner {
display: flex;
align-items: center;
justify-content: space-between;
}
&__logo {
display: flex;
flex: 1;
&:after {
content: '';
background: repeating-linear-gradient(90deg, $accent, $accent 2px, transparent 0, transparent 10px);
display: block;
width: 100%;
right: 10px;
}
a {
flex: 0 0 auto;
max-width: 100%;
text-decoration: none;
}
}
}
+1 -1
View File
@@ -2,7 +2,7 @@
display: flex;
align-items: center;
text-decoration: none;
background: $accent;
background: var(--accent);
color: black;
padding: 5px 10px;
}
+42 -42
View File
@@ -15,8 +15,8 @@ body {
font-size: 1rem;
line-height: 1.54;
letter-spacing: -0.02em;
background-color: $background;
color: $color;
background-color: color-mod(var(--accent) blend(#1D1E28 98%));
color: var(--color);
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
font-feature-settings: "liga", "tnum", "zero", "ss01", "locl";
@@ -24,7 +24,7 @@ body {
-webkit-overflow-scrolling: touch;
-webkit-text-size-adjust: 100%;
@media ($phone) {
@media (--phone) {
font-size: 1rem;
}
}
@@ -61,7 +61,7 @@ a {
/* Waiting for a better times... */
/* &:has(code) {
text-decoration-color: $accent;
text-decoration-color: var(--accent);
} */
}
@@ -109,8 +109,8 @@ figure {
font-size: 14px;
padding: 5px 10px;
margin-top: 5px;
background: $accent;
color: $background;
background: var(--accent);
color: var(--background);
/* opacity: .8; */
&.left {
@@ -130,8 +130,8 @@ figure {
code, kbd {
font-family: 'Fira Code', Monaco, Consolas, Ubuntu Mono, monospace !important;
font-feature-settings: normal;
background: transparentize($accent, .8);
color: $accent;
background: color-mod(var(--accent) a(20%));
color: var(--accent);
padding: 1px 6px;
margin: 0 2px;
font-size: .95rem;
@@ -157,7 +157,7 @@ pre {
margin-top: -40px;
}
@media ($phone) {
@media (--phone) {
white-space: pre-wrap;
word-wrap: break-word;
}
@@ -172,12 +172,12 @@ pre {
}
blockquote {
border-top: 1px solid $accent;
border-bottom: 1px solid $accent;
border-top: 1px solid var(--accent);
border-bottom: 1px solid var(--accent);
margin: 40px 0;
padding: 25px;
@media ($phone) {
@media (--phone) {
padding-right: 0;
}
@@ -198,15 +198,15 @@ blockquote {
display: block;
position: absolute;
left: -25px;
color: $accent;
color: var(--accent);
}
&.twitter-tweet {
position: relative;
background: transparentize($accent, .9);
background: color-mod(var(--accent) a(10%));
font: inherit;
color: inherit;
border: 1px solid $accent;
border: 1px solid var(--accent);
padding-top: 60px;
p:before {
@@ -217,12 +217,12 @@ blockquote {
content: '> From Twitter:';
position: absolute;
top: 20px;
color: $accent;
color: var(--accent);
font-weight: bold;
}
a {
color: $accent;
color: var(--accent);
}
}
}
@@ -237,12 +237,12 @@ table {
table,
th,
td {
border: 1px dashed $accent;
border: 1px dashed var(--accent);
padding: 10px;
}
th {
color: $accent;
color: var(--accent);
}
ul,
@@ -254,7 +254,7 @@ ol {
position: relative;
}
@media ($phone) {
@media (--phone) {
margin-left: 20px;
}
}
@@ -263,35 +263,35 @@ ol {
list-style: none;
counter-reset: li;
> li {
li {
counter-increment: li;
}
&:before {
content: counter(li);
position: absolute;
right: calc(100% + 10px);
color: $accent;
display: inline-block;
text-align: right;
li:before {
content: counter(li);
position: absolute;
right: calc(100% + 10px);
color: var(--accent);
display: inline-block;
text-align: right;
}
ol {
margin-left: 38px;
li {
counter-increment: li;
}
> ol {
margin-left: 38px;
> li {
counter-increment: li;
&:before {
content: counters(li, ".") " ";
}
}
li:before {
content: counters(li, ".") " ";
}
}
}
mark {
background: $accent;
color: $background;
background: var(--accent);
color: var(--background);
}
.container {
@@ -312,7 +312,7 @@ mark {
max-width: 100%;
}
@media ($phone) {
@media (--phone) {
padding: 20px;
}
@@ -333,7 +333,7 @@ mark {
hr {
width: 100%;
border: none;
background: $border-color;
background: var(--border-color);
height: 1px;
}
-157
View File
@@ -1,157 +0,0 @@
@mixin menu {
display: none;
flex-direction: column;
$shadow-color: transparentize($background, .2);
$shadow: 0 10px $shadow-color, -10px 10px $shadow-color, 10px 10px $shadow-color;
position: absolute;
background: $background;
box-shadow: $shadow;
color: white;
border: 2px solid;
margin: 0;
padding: 10px;
top: 10px;
left: 0;
list-style: none;
z-index: 99;
}
@mixin header-menu-trigger {
color: $accent;
border: 2px solid;
margin-left: 10px;
height: 100%;
padding: 3px 8px;
margin-bottom: 0 !important;
position: relative;
cursor: pointer;
}
.navigation-menu {
display: flex;
align-items: flex-start;
justify-content: space-between;
margin: 20px 1px;
@media ($phone) {
margin: 0;
}
&__inner {
display: flex;
flex: 1;
flex-wrap: wrap;
list-style: none;
margin: 0;
padding: 0;
> li {
flex: 0 0 auto;
margin-bottom: 10px;
white-space: nowrap;
&:not(:last-of-type) {
margin-right: 20px;
}
}
@media ($phone) {
flex-direction: column;
align-items: flex-start;
padding: 0;
li {
margin: 0;
padding: 5px;
}
}
}
.spacer {
flex-grow: 1 !important;
}
}
.menu {
display: flex;
flex-direction: column;
position: relative;
list-style: none;
padding: 0;
margin: 0;
&__trigger {
margin-right: 0 !important;
color: $accent;
user-select: none;
cursor: pointer;
}
&__dropdown {
@include menu;
.open & {
display: flex;
}
> li {
flex: 0 0 auto;
&:not(:last-of-type) {
margin-bottom: 10px;
}
a {
display: flex;
padding: 5px;
}
}
}
&--desktop {
@media ($phone) {
display: none
}
}
&--mobile {
.menu__trigger {
@include header-menu-trigger;
display: none;
@media ($phone) {
display: block;
}
}
.menu__dropdown {
@media ($phone) {
left: auto;
right: 0;
}
}
li {
flex: 0 0 auto;
&:not(:last-of-type) {
margin-bottom: 10px;
}
}
}
&--language-selector {
.menu__trigger {
@include header-menu-trigger;
@media ($phone) {
display: none;
}
}
.menu__dropdown {
left: auto;
right: 0;
}
}
}
@@ -15,8 +15,7 @@
text-align: center;
margin: 0 auto;
padding: 5px 10px;
background: $background;
color: transparentize($color, .7);
background: color-mod(var(--accent) blend(#1D1E28 98%));
font-size: .8rem;
text-transform: uppercase;
text-decoration: none;
@@ -38,8 +37,6 @@
display: flex;
align-items: center;
justify-content: center;
flex-flow: row wrap;
gap: 10px;
a {
text-decoration: none;
@@ -50,20 +47,22 @@
.button {
position: relative;
display: inline-flex;
flex: 1;
align-items: center;
justify-content: center;
font-size: 1rem;
border-radius: 8px;
padding: 0;
cursor: pointer;
appearance: none;
overflow: hidden;
@media($phone) {
flex: 1;
+ .button {
margin-left: 10px;
}
a {
display: flex;
justify-content: center;
flex: 1;
padding: 8px 16px;
text-decoration: none;
text-overflow: ellipsis;
+16 -20
View File
@@ -3,7 +3,7 @@
}
.framed {
border: 1px solid $accent;
border: 1px solid var(--accent);
padding: 20px;
*:first-child {
@@ -25,31 +25,27 @@
margin: 20px auto;
padding: 20px 0;
@media (--tablet) {
max-width: 660px;
}
&:not(:last-of-type) {
border-bottom: 1px solid $border-color;
border-bottom: 1px solid var(--border-color);
}
&-meta {
font-size: 1rem;
margin-bottom: 10px;
color: transparentize($accent, .3);
& > *:not(:first-child) {
&::before {
content: "::";
display: inline-block;
margin: 0 8px;
}
}
color: color-mod(var(--accent) a(70%));
}
&-title {
$border: 3px dotted $accent;
--border: 3px dotted var(--accent);
position: relative;
color: $accent;
color: var(--accent);
margin: 0 0 15px;
padding-bottom: 15px;
border-bottom: $border;
border-bottom: var(--border);
&:after {
content: '';
@@ -57,7 +53,7 @@
bottom: 2px;
display: block;
width: 100%;
border-bottom: $border;
border-bottom: var(--border);
}
a {
@@ -81,12 +77,12 @@
}
&-cover {
border: 20px solid $accent;
border: 20px solid var(--accent);
background: transparent;
margin: 40px 0;
padding: 20px;
@media ($phone) {
@media (--phone) {
padding: 10px;
border-width: 10px;
}
@@ -99,7 +95,7 @@
content: '-';
position: absolute;
left: -20px;
color: $accent;
color: var(--accent);
}
}
}
@@ -121,7 +117,7 @@
}
.hanchor {
color: transparentize($accent, .1);
color: color-mod(var(--accent) alpha(90%));
text-decoration: none;
margin-left: 10px;
visibility: hidden;
@@ -132,5 +128,5 @@ h1:hover a, h2:hover a, h3:hover a, h4:hover a {
}
.footnotes {
color: transparentize($color, .5);
color: color-mod(var(--color) alpha(50%));
}
+18
View File
@@ -0,0 +1,18 @@
@import 'variables.css';
@import 'font.css';
@import 'buttons.css';
@import 'form.css';
@import 'header.css';
@import 'logo.css';
@import 'main.css';
@import 'post.css';
@import 'pagination.css';
@import 'footer.css';
@import 'prism.css';
@import 'syntax.css';
@import 'code.css';
@import 'terms.css';
@import 'gist.css';
-19
View File
@@ -1,19 +0,0 @@
@import "variables";
@import "font";
@import "buttons";
@import "form";
@import "header";
@import "menu";
@import "logo";
@import "main";
@import "post";
@import "pagination";
@import "footer";
@import "prism";
@import "syntax";
@import "code";
@import "terms";
@import "gist";
@@ -17,7 +17,7 @@ code.language-scss,
.token.number,
.token.inserted,
.token.important {
color: $accent !important;
color: var(--accent) !important;
}
.token.tag-id,
@@ -34,7 +34,7 @@ code.language-scss,
.token.class-name,
.token.constant,
.token.symbol {
color: transparentize($accent, .3) !important;
color: color-mod(var(--accent) a(70%)) !important;
}
.token.property,
@@ -44,7 +44,7 @@ code.language-scss,
code.language-javascript,
code.language-html,
.command-line-prompt > span:before {
color: mix($accent, #999, .9) !important;
color: color-mod(var(--accent) blend(#999 90%)) !important;
}
.token.selector,
@@ -80,7 +80,7 @@ pre[class*="language-"] {
right: 0;
padding: 0;
margin: 0;
background: transparentize(mix($accent, #999, 90%), .92);
background: color-mod(var(--accent) blend(#999 90%) a(8%));
pointer-events: none;
line-height: inherit;
white-space: pre;
@@ -115,10 +115,13 @@ pre[class*="language-"] {
content: none;
}
:root {
--code-margin: 40px;
}
.code-toolbar {
$code-margin: 40px;
position: relative;
margin: $code-margin 0;
margin: var(--code-margin) 0;
padding: 20px;
border: 1px solid rgba(255, 255, 255, .1);
@@ -126,7 +129,7 @@ pre[class*="language-"] {
+ .highlight,
+ .highlight .code-toolbar {
border-top: 0;
margin-top: calc(-1 * $code-margin);
margin-top: calc(-1 * var(--code-margin));
}
pre, code {
+9
View File
@@ -0,0 +1,9 @@
.terms {
h1 {
color: var(--accent);
}
h3 {
font-size: initial;
}
}
-22
View File
@@ -1,22 +0,0 @@
.terms {
h3 {
font-size: initial;
}
ul {
list-style: none;
li {
a {
color: $accent;
}
}
li:not(:empty):before {
content: '-';
position: absolute;
left: -20px;
color: $accent;
}
}
}
+13
View File
@@ -0,0 +1,13 @@
:root {
--accent: #FFA86A;
--background: color-mod(var(--accent) blend(#1D1E28 98%));
--color: white;
--border-color: rgba(255, 255, 255, .1);
/* variables for js, must be the same as these in @custom-media queries */
--phoneWidth: (max-width: 684px);
--tabletWidth: (max-width: 900px);
}
@custom-media --phone (max-width: 684px);
@custom-media --tablet (max-width: 900px);
-8
View File
@@ -1,8 +0,0 @@
/* COLOR VARIABLES */
$background: mix($accent, #1D1E28, 2%);
$color: white;
$border-color: rgba(255, 255, 255, .1);
/* MEDIA QUERIES */
$phone: "max-width: 684px";
$tablet: "max-width: 900px";
+23
View File
@@ -0,0 +1,23 @@
const mobileQuery = getComputedStyle(document.body).getPropertyValue("--phoneWidth");
const isMobile = () => window.matchMedia(mobileQuery).matches;
const languageSelector = document.querySelector(".language-selector-current");
const moreLanguagesContainer = document.querySelector(".language-selector__more");
document.body.addEventListener("click", () => {
if (
!isMobile() &&
moreLanguagesContainer &&
!moreLanguagesContainer.classList.contains("hidden")
) {
moreLanguagesContainer.classList.add("hidden");
}
});
languageSelector &&
languageSelector.addEventListener("click", (e) => {
if (!isMobile()) {
e.stopPropagation();
moreLanguagesContainer.classList.toggle("hidden");
}
});
+41 -34
View File
@@ -1,44 +1,51 @@
const container = document.querySelector(".container");
const allMenus = document.querySelectorAll(".menu");
const menu = document.querySelector(".menu");
const mobileMenuTrigger = document.querySelector(".menu-trigger");
const desktopMenu = document.querySelector(".menu__inner--desktop");
const desktopMenuTrigger = document.querySelector(".menu__sub-inner-more-trigger");
const menuMore = document.querySelector(".menu__sub-inner-more");
const mobileQuery = getComputedStyle(document.body).getPropertyValue("--phoneWidth");
const isMobile = () => window.matchMedia(mobileQuery).matches;
const handleMenuClasses = () => {
mobileMenuTrigger && mobileMenuTrigger.classList.toggle("hidden", !isMobile());
menu && menu.classList.toggle("hidden", isMobile());
menuMore && menuMore.classList.toggle("hidden", !isMobile());
};
// Common
menu && menu.addEventListener("click", e => e.stopPropagation());
menuMore && menuMore.addEventListener("click", e => e.stopPropagation());
handleMenuClasses();
// Hide menus on body click
document.body.addEventListener("click", () => {
allMenus.forEach(menu => {
if (menu.classList.contains("open")) {
menu.classList.remove("open");
}
});
if (!isMobile() && menuMore && !menuMore.classList.contains("hidden")) {
menuMore.classList.add("hidden");
} else if (isMobile() && !menu.classList.contains("hidden")) {
menu.classList.add("hidden");
}
});
// Reset menus on resize
window.addEventListener("resize", () => {
allMenus.forEach(menu => {
menu.classList.remove("open");
});
});
window.addEventListener("resize", handleMenuClasses);
// Handle desktop menu
allMenus.forEach(menu => {
const trigger = menu.querySelector(".menu__trigger");
const dropdown = menu.querySelector(".menu__dropdown");
// Mobile menu
trigger.addEventListener("click", e => {
mobileMenuTrigger &&
mobileMenuTrigger.addEventListener("click", e => {
e.stopPropagation();
if (menu.classList.contains("open")) {
menu.classList.remove("open");
} else {
// Close all menus...
allMenus.forEach(m => m.classList.remove("open"));
// ...before opening the current one
menu.classList.add("open");
}
if (dropdown.getBoundingClientRect().right > container.getBoundingClientRect().right) {
dropdown.style.left = "auto";
dropdown.style.right = 0;
}
menu && menu.classList.toggle("hidden");
});
dropdown.addEventListener("click", e => e.stopPropagation());
});
// Desktop menu
desktopMenuTrigger &&
desktopMenuTrigger.addEventListener("click", e => {
e.stopPropagation();
menuMore && menuMore.classList.toggle("hidden");
if (menuMore.getBoundingClientRect().right > container.getBoundingClientRect().right) {
menuMore.style.left = "auto";
menuMore.style.right = 0;
}
});
-4
View File
@@ -1,4 +0,0 @@
[module]
[module.hugoVersion]
extended = true
min = '0.90.0'
-3
View File
@@ -1,3 +0,0 @@
module github.com/panr/hugo-theme-terminal/v3
go 1.19
+13 -12
View File
@@ -19,16 +19,15 @@
<h1 class="post-title">
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
</h1>
<div class="post-meta">
{{- if .Date -}}
{{- with .Date }}
<time class="post-date">
{{- .Date.Format "2006-01-02" -}}
{{ .Format "2006-01-02" }}
</time>
{{- end -}}
{{- with .Params.Author -}}
<span class="post-author">{{ . }}</span>
{{- end -}}
{{- end }}
{{ with .Params.Author }}
<span class="post-author">:: {{ . }}</span>
{{ end }}
</div>
{{ if .Params.tags }}
@@ -41,26 +40,28 @@
</span>
{{ end }}
{{ partial "cover.html" . }}
<div class="post-content">
{{ if .Params.showFullContent }}
{{ .Content }}
{{ else if .Description }}
{{ .Description | markdownify }}
{{ else }}
{{ .Summary }}
{{ .Summary | markdownify }}
{{ end }}
</div>
{{ if not .Params.showFullContent }}
<div>
<a class="read-more button" href="{{.RelPermalink}}">{{ $.Site.Params.ReadMore }} →</a>
</div>
<div>
<a class="read-more button"
href="{{.RelPermalink}}">{{ $.Site.Params.ReadMore }} →</a>
</div>
{{ end }}
</article>
{{ end }}
{{ partial "pagination.html" . }}
</div>
{{ end }}
+11 -10
View File
@@ -11,14 +11,14 @@
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
</h1>
<div class="post-meta">
{{- if .Date -}}
{{- with .Date }}
<time class="post-date">
{{- .Date.Format "2006-01-02" -}}
{{ .Format "2006-01-02" }}
</time>
{{- end -}}
{{- with .Params.Author -}}
<span class="post-author">{{- . -}}</span>
{{- end -}}
{{- end }}
{{ with .Params.Author }}
<span class="post-author">:: {{ . }}</span>
{{ end }}
</div>
{{ if .Params.tags }}
@@ -33,6 +33,7 @@
{{ partial "cover.html" . }}
<div class="post-content">
{{ if .Params.showFullContent }}
{{ .Content }}
@@ -44,13 +45,13 @@
</div>
{{ if not .Params.showFullContent }}
<div>
<a class="read-more button" href="{{.RelPermalink}}">{{ $.Site.Params.ReadMore }} →</a>
</div>
<div>
<a class="read-more button"
href="{{.RelPermalink}}">{{ $.Site.Params.ReadMore }} →</a>
</div>
{{ end }}
</article>
{{ end }}
{{ partial "pagination.html" . }}
</div>
{{ end }}
+23 -24
View File
@@ -1,31 +1,30 @@
{{ define "main" }}
<article class="post">
<h1 class="post-title">
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
</h1>
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
<div class="post-meta">
{{- if .Date -}}
<time class="post-date">
{{- .Date.Format "2006-01-02" -}}
{{- if $.Site.Params.showLastUpdated -}}
[{{- or $.Site.Params.updatedDatePrefix "Updated" -}} :: {{- .Lastmod.Format "2006-01-02" -}}]
{{- end -}}
</time>
{{- end -}}
{{- with .Params.Author -}}
<span class="post-author">{{ . }}</span>
{{- end -}}
{{- if and (.Param "readingTime") (eq (.Param "readingTime") true) -}}
<span class="post-reading-time">{{ .ReadingTime }} {{ $.Site.Params.minuteReadingTime | default "min read" }} ({{ .WordCount }} {{ $.Site.Params.words | default "words" }})</span>
{{- end -}}
{{ if .Params.Date }}
<span class="post-date">
<time>{{ .Date.Format "2006-01-02" }}</time>
{{ if $.Site.Params.showLastUpdated }}
[{{or $.Site.Params.updatedDatePrefix "Updated"}}: <time>{{ .Lastmod.Format "2006-01-02" }}</time>]
{{ end }}
</span>
{{ end }}
{{ with .Params.Author }}
<span class="post-author">:: {{ . }}</span>
{{ end }}
{{ if and (.Param "readingTime") (eq (.Param "readingTime") true) }}
<span class="post-reading-time">:: {{ .ReadingTime }} min read ({{ .WordCount }} words)</span>
{{ end }}
</div>
{{ if .Params.tags }}
<span class="post-tags">
{{ range .Params.tags }}
#<a href="{{ (urlize (printf "tags/%s/" .)) | absLangURL }}">{{ . }}</a>&nbsp;
{{ end }}
</span>
<span class="post-tags">
{{ range .Params.tags }}
#<a href="{{ (urlize (printf "tags/%s/" .)) | absLangURL }}">{{ . }}</a>&nbsp;
{{ end }}
</span>
{{ end }}
{{ partial "cover.html" . }}
@@ -41,17 +40,17 @@
<div class="post-content">
{{- with .Content -}}
<div>
{{ . | replaceRE "(<h[1-9] id=\"([^\"]+)\".+)(</h[1-9]+>)" `${1}<a href="#${2}" class="hanchor" ariaLabel="Anchor">&#8983;</a> ${3}` | safeHTML }}
{{ . | replaceRE "(<h[1-9] id=\"([^\"]+)\".+)(</h[1-9]+>)" `${1}<a href="#${2}" class="hanchor" aria-label="Anchor">&#8983;</a> ${3}` | safeHTML }}
</div>
{{- end -}}
</div>
{{ if eq .Type $.Site.Params.contentTypeName }}
{{ partial "posts_pagination.html" . }}
{{ partial "posts_pagination.html" . }}
{{ end }}
{{ if not (.Params.hideComments | default false) }}
{{ partial "comments.html" . }}
{{ partial "comments.html" . }}
{{ end }}
</article>
{{ end }}
-57
View File
@@ -1,57 +0,0 @@
{{ define "main" }}
<h1>Posts for: #{{ .Title }}</h1>
{{ with .Content }}
<div class="index-content">
{{ . }}
</div>
{{ end }}
<div class="posts">
{{ range .Paginator.Pages }}
<article class="post on-list">
<h1 class="post-title">
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
</h1>
<div class="post-meta">
{{- if .Date -}}
<time class="post-date">
{{- .Date.Format "2006-01-02" -}}
</time>
{{- end -}}
{{- with .Params.Author -}}
<span class="post-author">{{- . -}}</span>
{{- end -}}
</div>
{{ if .Params.tags }}
<span class="post-tags">
{{ range .Params.tags }}
#<a href="{{ (urlize (printf "tags/%s/" . )) | absLangURL }}">
{{- . -}}
</a>&nbsp;
{{ end }}
</span>
{{ end }}
{{ partial "cover.html" . }}
<div class="post-content">
{{ if .Params.showFullContent }}
{{ .Content }}
{{ else if .Description }}
{{ .Description | markdownify }}
{{ else }}
{{ .Summary }}
{{ end }}
</div>
{{ if not .Params.showFullContent }}
<div>
<a class="read-more button" href="{{.RelPermalink}}">{{ $.Site.Params.ReadMore }} →</a>
</div>
{{ end }}
</article>
{{ end }}
{{ partial "pagination.html" . }}
</div>
{{ end }}
+1 -6
View File
@@ -1,11 +1,6 @@
{{ define "main" }}
<div class="terms">
<h1>{{ .Title }}</h1>
{{ with .Content }}
<div class="index-content">
{{ . }}
</div>
{{ end }}
<ul>
{{ $type := .Type }}
{{ range $key, $value := .Data.Terms.Alphabetical }}
@@ -13,7 +8,7 @@
{{ $count := .Count }}
{{ with $.Site.GetPage (printf "/%s/%s" $type $name) }}
<li>
<a class="terms-title" href="{{ .Permalink }}">{{ .Name }} [{{ $count }}]</a>
<a class="terms-title" href="{{ .Permalink }}">{{ .Name }} ({{ $count }})</a>
</li>
{{ end }}
{{ end }}
+7 -7
View File
@@ -5,19 +5,19 @@
<span>{{ $.Site.Copyright | safeHTML }}</span>
{{ else }}
<div class="copyright">
<span>© {{ now.Year }} Powered by <a href="https://gohugo.io">Hugo</a></span>
<span>© {{ now.Year }} Powered by <a href="http://gohugo.io">Hugo</a></span>
{{ end }}
<span>:: <a href="https://github.com/panr/hugo-theme-terminal" target="_blank">Theme</a> made by <a href="https://github.com/panr" target="_blank">panr</a></span>
<span>:: Theme made by <a href="https://twitter.com/panr">panr</a></span>
</div>
</div>
</footer>
{{ $menu := resources.Get "js/menu.js" | js.Build }}
{{ $prism := resources.Get "js/prism.js" | js.Build }}
<script src="{{ "assets/main.js" | absURL }}"></script>
<script src="{{ "assets/prism.js" | absURL }}"></script>
{{ $bundle := slice $menu $prism | resources.Concat "bundle.js" | resources.Minify }}
<script type="text/javascript" src="{{ $bundle.RelPermalink }}"></script>
{{ if $.Site.Params.showLanguageSelector }}
<script src="{{ "assets/languageSelector.js" | absURL }}"></script>
{{ end }}
<!-- Extended footer section-->
{{ partial "extended_footer.html" . }}
+13 -31
View File
@@ -2,31 +2,17 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{ if .IsHome }}{{ $.Site.Params.Subtitle }}{{ else if .Description}}{{ .Description | plainify }}{{ else }}{{ .Summary | plainify }}{{ end }}" />
<meta name="keywords" content="{{ with .Params.Keywords }}{{ delimit . ", " }}{{ else }}{{ $.Site.Params.Keywords }}{{ end }}" />
{{ if .Params.noindex }}
{{ if or (eq (.Param "noindex") true) (eq (.Param "noindex") "true") }}
<meta name="robots" content="noindex" />
{{ end }}
{{ else }}
<meta name="robots" content="noodp" />
{{ end }}
<meta name="robots" content="noodp" />
<link rel="canonical" href="{{ .Permalink }}" />
{{ template "_internal/google_analytics.html" . }}
{{ $defaultStyles := resources.Get "css/style.scss" }}
<!-- Local Theme Variables -->
{{ if and (isset .Params "color") (not (eq .Params.color "")) }}
{{ $localColorCss := resources.Get (printf "css/color/%s.scss" .Params.color) }}
{{ $localCss := slice $localColorCss $defaultStyles | resources.Concat (printf "css/%s-local.scss" .Params.color) }}
{{ $localColorStyles := $localCss | resources.ToCSS }}
<link rel="stylesheet" href="{{ $localColorStyles.Permalink }}">
{{ else }}
<!-- Theme Variables -->
{{ $colorCss := resources.Get (printf "css/color/%s.scss" ($.Site.Params.ThemeColor | default "orange")) }}
{{ $css := slice $colorCss $defaultStyles | resources.Concat "css/base.scss" }}
{{ $options := (dict "targetPath" "styles.css" "outputStyle" "compressed" "enableSourceMap" true "precision" 6 "includePaths" (slice "node_modules")) }}
{{ $styles := $css | resources.ToCSS $options }}
<link rel="stylesheet" href="{{ $styles.Permalink }}">
<!-- Theme CSS -->
<link rel="stylesheet" href="{{ "assets/style.css" | absURL }}">
{{ if (isset .Params "color") }}
<link rel="stylesheet" href="{{ (printf "assets/%s.css" .Params.color) | absURL }}">
{{ else if and (ne $.Site.Params.ThemeColor "orange") (ne $.Site.Params.ThemeColor "color" "") }}
<link rel="stylesheet" href="{{ (printf "assets/%s.css" $.Site.Params.ThemeColor) | absURL }}">
{{ end }}
<!-- Custom CSS to override theme properties (/static/style.css) -->
@@ -35,11 +21,11 @@
{{- end }}
<!-- Icons -->
<link rel="apple-touch-icon" href="{{ "img/apple-touch-icon-192x192.png" | absURL }}">
{{ if isset $.Site.Params "favicon" }}
<link rel="shortcut icon" href="{{ $.Site.Params.favicon | absURL }}">
{{ else }}
<link rel="shortcut icon" href="{{ printf "img/theme-colors/%s.png" (or .Params.color $.Site.Params.ThemeColor | default "orange") | absURL }}">
<link rel="apple-touch-icon" href="{{ printf "img/theme-colors/%s.png" (or .Params.color $.Site.Params.ThemeColor | default "orange") | absURL }}">
<link rel="shortcut icon" href="{{ printf "img/favicon/%s.png" ($.Site.Params.ThemeColor | default "orange") | absURL }}">
{{ end }}
<!-- Twitter Card -->
@@ -58,12 +44,8 @@
<meta property="og:description" content="{{ if .IsHome }}{{ $.Site.Params.Subtitle }}{{ else if .Description}}{{ .Description | plainify }}{{ else }}{{ .Summary | plainify }}{{ end }}" />
<meta property="og:url" content="{{ .Permalink }}" />
<meta property="og:site_name" content="{{ $.Site.Title }}" />
{{ if (isset .Params "cover") }}
{{ $pageCover := .Param "cover" }}
{{ with (.Resources.GetMatch (.Param "cover")) }}
{{ $pageCover = .RelPermalink }}
{{ end }}
<meta property="og:image" content="{{ $pageCover | absURL }}">
{{ if and (not .IsHome) (isset .Params "cover") }}
<meta property="og:image" content="{{ .Param "cover" | absURL }}">
{{ else }}
{{ if isset $.Site.Params "favicon" }}
<meta property="og:image" content="{{ $.Site.Params.favicon | absURL }}">
@@ -71,8 +53,8 @@
<meta property="og:image" content="{{ printf "img/favicon/%s.png" $.Site.Params.ThemeColor | absURL }}">
{{ end }}
{{ end }}
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="627">
<meta property="og:image:width" content="2048">
<meta property="og:image:height" content="1024">
{{ range .Params.categories }}
<meta property="article:section" content="{{ . }}" />
{{ end }}
+1 -4
View File
@@ -4,10 +4,7 @@
{{ partial "logo.html" . }}
</div>
{{ if len $.Site.Menus }}
{{ partial "mobile-menu.html" . }}
{{ end }}
{{ if and $.Site.Params.showLanguageSelector (len $.Site.Home.AllTranslations) }}
{{ partial "language-menu.html" . }}
<div class="menu-trigger">menu</div>
{{ end }}
</div>
{{ if len $.Site.Menus }}
-10
View File
@@ -1,10 +0,0 @@
<ul class="menu menu--desktop menu--language-selector">
<li class="menu__trigger">{{ .Language.LanguageName }}&nbsp;</li>
<li>
<ul class="menu__dropdown">
{{ range $.Site.Home.AllTranslations }}
<li><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
{{ end }}
</ul>
</li>
</ul>
+44 -17
View File
@@ -1,33 +1,60 @@
<nav class="navigation-menu">
<ul class="navigation-menu__inner menu--desktop">
<nav class="menu">
<ul class="menu__inner menu__inner--desktop">
{{ if or $.Site.Params.showMenuItems ( eq .Site.Params.showMenuItems 0 ) }}
{{ range first $.Site.Params.showMenuItems $.Site.Menus.main }}
{{ if not .HasChildren }}
<li><a href="{{ .URL }}" {{ if .Params.NewTab -}} target="_blank" {{- end }}>{{ .Name }}</a></li>
<li><a href="{{ .URL }}" {{ if .Params.NewTab }} target="_blank" {{ end }}>{{ .Name }}</a></li>
{{ end }}
{{ end }}
{{ if gt (len $.Site.Menus.main) $.Site.Params.showMenuItems }}
<li>
<ul class="menu">
<li class="menu__trigger">{{ $.Site.Params.MenuMore }}&nbsp;</li>
<li>
<ul class="menu__dropdown">
{{ range last (sub (len $.Site.Menus.main) $.Site.Params.showMenuItems) $.Site.Menus.main }}
{{ if not .HasChildren }}
<li><a href="{{ .URL }}" {{ if .Params.NewTab -}} target="_blank" {{- end }}>{{ .Name }}</a></li>
{{ end }}
{{ end }}
</ul>
</li>
<ul class="menu__sub-inner">
<li class="menu__sub-inner-more-trigger">{{ $.Site.Params.MenuMore }} ▾</li>
<ul class="menu__sub-inner-more hidden">
{{ range last (sub (len $.Site.Menus.main) $.Site.Params.showMenuItems) $.Site.Menus.main }}
{{ if not .HasChildren }}
<li><a href="{{ .URL }}" {{ if .Params.NewTab }} target="_blank" {{ end }}>{{ .Name }}</a></li>
{{ end }}
{{ end }}
</ul>
</li>
</ul>
{{ end }}
{{ else }}
{{ range $.Site.Menus.main }}
{{ if not .HasChildren }}
<li><a href="{{ .URL }}" {{ if .Params.NewTab -}} target="_blank" {{- end }}>{{ .Name }}</a></li>
<li><a href="{{ .URL }}" {{ if .Params.NewTab }} target="_blank" {{ end }}>{{ .Name }}</a></li>
{{ end }}
{{ end }}
{{ end }}
{{ if and $.Site.Params.showLanguageSelector (len $.Site.Home.AllTranslations) }}
<div class="spacer"></div>
<ul class="language-selector">
<ul class="language-selector-current">
<li>{{ .Language.LanguageName }} ▾</li>
</ul>
<ul class="language-selector__more hidden">
{{ range $.Site.Home.AllTranslations }}
<li><a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a></li>
{{ end }}
</ul>
</ul>
{{ end }}
</ul>
<ul class="menu__inner menu__inner--mobile">
{{ range $.Site.Menus.main }}
{{ if not .HasChildren }}
<li><a href="{{ .URL }}" {{ if .Params.NewTab }} target="_blank" {{ end }}>{{ .Name }}</a></li>
{{ end }}
{{ end }}
{{ if and $.Site.Params.showLanguageSelector (len $.Site.Home.AllTranslations) }}
<hr />
{{ range $.Site.Home.AllTranslations }}
<li>
<a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
</li>
{{ end }}
{{ end }}
</ul>
</nav>
-20
View File
@@ -1,20 +0,0 @@
<ul class="menu menu--mobile">
<li class="menu__trigger">Menu&nbsp;</li>
<li>
<ul class="menu__dropdown">
{{ range $.Site.Menus.main }}
{{ if not .HasChildren }}
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
{{ end }}
{{ end }}
{{ if and $.Site.Params.showLanguageSelector (len $.Site.Home.AllTranslations) }}
<hr />
{{ range $.Site.Home.AllTranslations }}
<li>
<a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
</li>
{{ end }}
{{ end }}
</ul>
</li>
</ul>
+12 -8
View File
@@ -1,16 +1,20 @@
<div class="pagination">
<div class="pagination__buttons">
{{ if .Paginator.HasPrev }}
<a href="{{ .Paginator.Prev.URL }}" class="button previous">
<span class="button__icon"></span>
<span class="button__text">{{ $.Site.Params.newerPosts | default "Newer posts" }}</span>
</a>
<span class="button previous">
<a href="{{ .Paginator.Prev.URL }}">
<span class="button__icon"></span>
<span class="button__text">{{ $.Site.Params.newerPosts | default "Newer posts" }}</span>
</a>
</span>
{{ end }}
{{ if .Paginator.HasNext }}
<a href="{{ .Paginator.Next.URL }}" class="button next">
<span class="button__text">{{ $.Site.Params.olderPosts | default "Older posts" }}</span>
<span class="button__icon"></span>
</a>
<span class="button next">
<a href="{{ .Paginator.Next.URL }}">
<span class="button__text">{{ $.Site.Params.olderPosts | default "Older posts" }}</span>
<span class="button__icon"></span>
</a>
</span>
{{ end }}
</div>
</div>
+1 -1
View File
@@ -1,3 +1,3 @@
{{ if .Get "src" }}
<img src="{{ .Get "src" | safeURL }}" {{ with .Get "alt" }} alt="{{ . | plainify }}" {{ end }} class="{{ with .Get "position"}}{{ . }}{{ else -}} left {{- end }}" {{ with .Get "style" }} style="{{ . | safeCSS }}" {{ end }} {{ with .Get "width" }} width="{{ . | plainify }}" {{ end }} {{ with .Get "height" }} height="{{ . | plainify }}" {{ end }} />
<img src="{{ .Get "src" | safeURL }}" {{ with .Get "alt" }} alt="{{ . | plainify }}" {{ end }} class="{{ with .Get "position"}}{{ . }}{{ else -}} left {{- end }}" {{ with .Get "style" }} style="{{ . | safeCSS }}" {{ end }} />
{{ end }}
+1 -2
View File
@@ -20,7 +20,6 @@
>{{ $inner }}</code></pre>
{{ else }}
<pre class="language-{{ .Get 0 }}">
<code class="language-{{ .Get 0 }}">{{ $inner }}</code>
</pre>
<code class="language-{{ .Get 0 }}">{{ $inner }}</code></pre>
{{ end }}
{{ end }}
-6743
View File
File diff suppressed because it is too large Load Diff
-39
View File
@@ -1,39 +0,0 @@
{
"author": "Radosław Kozieł <@panr> <radoslaw.koziel@gmail.com>",
"browserslist": [
"last 2 versions",
">1%",
"not dead"
],
"comments": {
"dependencies": {
"yarn": "project"
},
"devDependencies": {
"browserslist": "project",
"clipboard": "project",
"eslint-config-airbnb": "project",
"eslint-config-prettier": "project",
"eslint-plugin-jsx-a11y": "project",
"husky": "project"
}
},
"dependencies": {
"yarn": "^1.22.10"
},
"devDependencies": {
"browserslist": "^4.16.5",
"clipboard": "^2.0.4",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"husky": "^5.1.3"
},
"license": "MIT",
"main": "index.js",
"name": "terminal",
"scripts": {
"test": "echo 'Test'"
},
"version": "2.1.0"
}
+41 -24
View File
@@ -1,43 +1,60 @@
{
"name": "terminal",
"version": "3.1.0",
"author": "Radosław Kozieł <@panr> <radoslaw.koziel@gmail.com>",
"version": "2.1.0",
"main": "index.js",
"author": "Radosław Kozieł <@panr> <radoslaw.koziel@gmail.com>",
"license": "MIT",
"scripts": {
"test": "echo 'Test'"
},
"browserslist": [
"last 2 versions",
">1%",
"not dead"
],
"comments": {
"dependencies": {
"yarn": "project"
},
"devDependencies": {
"browserslist": "project",
"clipboard": "project",
"eslint-config-airbnb": "project",
"eslint-config-prettier": "project",
"eslint-plugin-jsx-a11y": "project",
"husky": "project"
}
},
"dependencies": {
"yarn": "^1.22.10"
"scripts": {
"dev": "webpack --mode=development --watch",
"build": "webpack --mode=production"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/parser": "^7.4.2",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.3.1",
"@babel/preset-stage-2": "^7.0.0",
"angular-html-parser": "^1.2.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.0.5",
"browserslist": "^4.16.5",
"clean-webpack-plugin": "^3.0.0",
"clipboard": "^2.0.4",
"eslint": "^7.32.0",
"css-loader": "^5.1.3",
"cssnano": "^5.0.8",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"file-loader": "^6.1.0",
"husky": "^5.1.3",
"stylelint": "^14.14.1",
"stylelint-config-prettier-scss": "^0.0.1",
"stylelint-config-standard-scss": "^6.1.0"
"mini-css-extract-plugin": "^1.3.9",
"postcss": "^8.2.10",
"postcss-browser-reporter": "^0.6.0",
"postcss-cli": "^8.3.1",
"postcss-color-function": "^4.0.1",
"postcss-color-mod-function": "^3.0.3",
"postcss-import": "^14.0.0",
"postcss-loader": "^5.2.0",
"postcss-mixins": "^7.0.3",
"postcss-nested": "^5.0.5",
"postcss-preset-env": "^6.7.0",
"postcss-reporter": "^7.0.2",
"postcss-url": "^10.1.3",
"prettier-eslint-cli": "^5.0.0",
"ramda": "^0.27.1",
"style-loader": "^2.0.0",
"terser-webpack-plugin": "^5.1.1",
"url-loader": "^4.1.0",
"webpack": "^5.27.1",
"webpack-cli": "^4.5.0"
},
"dependencies": {
"yarn": "^1.22.10"
}
}
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+4
View File
@@ -0,0 +1,4 @@
(function(){var __webpack_modules__={"./assets/js/languageSelector.js":
/*!***************************************!*\
!*** ./assets/js/languageSelector.js ***!
\***************************************/function(){eval('var mobileQuery = getComputedStyle(document.body).getPropertyValue("--phoneWidth");\n\nvar isMobile = function isMobile() {\n return window.matchMedia(mobileQuery).matches;\n};\n\nvar languageSelector = document.querySelector(".language-selector-current");\nvar moreLanguagesContainer = document.querySelector(".language-selector__more");\ndocument.body.addEventListener("click", function () {\n if (!isMobile() && moreLanguagesContainer && !moreLanguagesContainer.classList.contains("hidden")) {\n moreLanguagesContainer.classList.add("hidden");\n }\n});\nlanguageSelector && languageSelector.addEventListener("click", function (e) {\n if (!isMobile()) {\n e.stopPropagation();\n moreLanguagesContainer.classList.toggle("hidden");\n }\n});\n\n//# sourceURL=webpack://terminal/./assets/js/languageSelector.js?')}},__webpack_exports__={};__webpack_modules__["./assets/js/languageSelector.js"]()})();
+4
View File
@@ -0,0 +1,4 @@
(function(){var __webpack_modules__={"./assets/js/menu.js":
/*!***************************!*\
!*** ./assets/js/menu.js ***!
\***************************/function(){eval('var container = document.querySelector(".container");\nvar menu = document.querySelector(".menu");\nvar mobileMenuTrigger = document.querySelector(".menu-trigger");\nvar desktopMenu = document.querySelector(".menu__inner--desktop");\nvar desktopMenuTrigger = document.querySelector(".menu__sub-inner-more-trigger");\nvar menuMore = document.querySelector(".menu__sub-inner-more");\nvar mobileQuery = getComputedStyle(document.body).getPropertyValue("--phoneWidth");\n\nvar isMobile = function isMobile() {\n return window.matchMedia(mobileQuery).matches;\n};\n\nvar handleMenuClasses = function handleMenuClasses() {\n mobileMenuTrigger && mobileMenuTrigger.classList.toggle("hidden", !isMobile());\n menu && menu.classList.toggle("hidden", isMobile());\n menuMore && menuMore.classList.toggle("hidden", !isMobile());\n}; // Common\n\n\nmenu && menu.addEventListener("click", function (e) {\n return e.stopPropagation();\n});\nmenuMore && menuMore.addEventListener("click", function (e) {\n return e.stopPropagation();\n});\nhandleMenuClasses();\ndocument.body.addEventListener("click", function () {\n if (!isMobile() && menuMore && !menuMore.classList.contains("hidden")) {\n menuMore.classList.add("hidden");\n } else if (isMobile() && !menu.classList.contains("hidden")) {\n menu.classList.add("hidden");\n }\n});\nwindow.addEventListener("resize", handleMenuClasses); // Mobile menu\n\nmobileMenuTrigger && mobileMenuTrigger.addEventListener("click", function (e) {\n e.stopPropagation();\n menu && menu.classList.toggle("hidden");\n}); // Desktop menu\n\ndesktopMenuTrigger && desktopMenuTrigger.addEventListener("click", function (e) {\n e.stopPropagation();\n menuMore && menuMore.classList.toggle("hidden");\n\n if (menuMore.getBoundingClientRect().right > container.getBoundingClientRect().right) {\n menuMore.style.left = "auto";\n menuMore.style.right = 0;\n }\n});\n\n//# sourceURL=webpack://terminal/./assets/js/menu.js?')}},__webpack_exports__={};__webpack_modules__["./assets/js/menu.js"]()})();
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 189 B

After

Width:  |  Height:  |  Size: 189 B

Before

Width:  |  Height:  |  Size: 190 B

After

Width:  |  Height:  |  Size: 190 B

Before

Width:  |  Height:  |  Size: 190 B

After

Width:  |  Height:  |  Size: 190 B

Before

Width:  |  Height:  |  Size: 190 B

After

Width:  |  Height:  |  Size: 190 B

Before

Width:  |  Height:  |  Size: 189 B

After

Width:  |  Height:  |  Size: 189 B

+1 -1
View File
@@ -5,7 +5,7 @@ description = "A simple, retro theme for Hugo."
homepage = "https://github.com/panr/hugo-theme-terminal/"
tags = ["blog", "clean", "customizable", "dark", "highlighting", "minimal", "monotone", "multilingual", "personal", "responsive", "simple", "technical", "retro"]
features = ["blog", "shortcode", "syntax highlighting"]
min_version = 0.90
min_version = 0.74
[author]
name = "panr"
+104
View File
@@ -0,0 +1,104 @@
const { CleanWebpackPlugin } = require("clean-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const TerserPlugin = require("terser-webpack-plugin");
const path = require("path");
const join = (...paths) => path.join(__dirname, ...paths);
module.exports = (env, { mode }) => ({
resolve: {
extensions: [".js", ".css"],
modules: ["assets", "node_modules"],
},
entry: {
main: join("assets", "js", "menu.js"),
languageSelector: join("assets", "js", "languageSelector.js"),
prism: join("assets", "js", "prism.js"),
style: join("assets", "css", "style.css"),
red: join("assets", "css", "color", "red.css"),
blue: join("assets", "css", "color", "blue.css"),
green: join("assets", "css", "color", "green.css"),
pink: join("assets", "css", "color", "pink.css"),
},
output: {
filename: "[name].js",
path: join("static/assets"),
publicPath: "",
},
performance: {
hints: false,
},
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: "babel-loader",
options: {
presets: ["@babel/preset-env"],
},
},
},
{
test: /\.(png|jpg|woff|woff2|ttf|eot|svg)$/,
use: [
{
loader: "url-loader",
options: {
limit: 8192,
},
},
],
},
{
test: /\.css$/,
use: [
MiniCssExtractPlugin.loader,
{
loader: "css-loader",
options: {
modules: {
localIdentName: "[local]",
},
import: true,
importLoaders: 1,
},
},
"postcss-loader",
],
},
],
},
optimization: {
splitChunks: {
name: "vendor",
minChunks: 2,
},
minimize: true,
minimizer: [
new TerserPlugin({
parallel: true,
extractComments: false,
}),
],
},
plugins: [
new CleanWebpackPlugin({
cleanOnceBeforeBuildPatterns: [join("static/assets")],
cleanAfterEveryBuildPatterns: [
join("static/assets/style.js"),
join("static/assets/blue.js"),
join("static/assets/green.js"),
join("static/assets/red.js"),
join("static/assets/pink.js"),
],
verbose: true,
}),
new MiniCssExtractPlugin({
filename: "[name].css",
chunkFilename: "[id].css",
}),
],
});
+4959 -1885
View File
File diff suppressed because it is too large Load Diff