pat-s/pat-s.me
Watch
1
0
Fork
You've already forked pat-s.me
0
Personal web presence https://pat-s.me
  • JavaScript 86.6%
  • CSS 7.5%
  • HTML 5.3%
  • Rebol 0.3%
  • Just 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
renovate-bot ae9411f893
Some checks failed
ci/crow/push/lint Pipeline was successful
ci/crow/cron/links Pipeline failed
chore(deps): update pre-commit hook davidanson/markdownlint-cli2 to v0.24.2
2026-11-21 02:00:58 +00:00
.crow fix(ci): fail links pipeline when lychee reports errors (#34) 2026-11-15 10:53:38 +00:00
assets fix(admonitions): load precompiled CSS instead of transpiling Sass (#36) 2026-11-15 11:04:53 +00:00
content fix(content): replace dead links and ignore bot-blocked stack exchange sites (#35) 2026-11-15 10:59:07 +00:00
fontawesome add twitter and gh svg icons 2022-04-30 22:37:17 +02:00
layouts fix(admonitions): load precompiled CSS instead of transpiling Sass (#36) 2026-11-15 11:04:53 +00:00
static feat: self-host IBM Plex and take heading hierarchy from size, not weight (#20) 2026-08-07 10:00:21 +00:00
themes update submodules 2023-02-21 21:19:35 +01:00
.editorconfig chore: editorconfig 2025-11-27 22:25:20 +01:00
.editorconfig-checker.json chore: prettier 2025-11-27 22:11:39 +01:00
.gitignore gitignore 2025-06-29 15:11:17 +02:00
.gitmodules add gallery shortcode 2022-09-13 22:36:09 +02:00
.hugo_build.lock Major overhaul: use etch theme (#6) 2021-11-13 21:52:21 +01:00
.lycheeignore fix(content): replace dead links and ignore bot-blocked stack exchange sites (#35) 2026-11-15 10:59:07 +00:00
.markdownlint.yaml Add "CodeFloe launch" post (#8) 2025-07-25 17:26:01 +02:00
.pre-commit-config.yaml chore(deps): update pre-commit hook davidanson/markdownlint-cli2 to v0.24.2 2026-11-21 02:00:58 +00:00
.prettierignore chore: editorconfig 2025-11-27 22:25:20 +01:00
.prettierrc.json chore: add linters 2025-04-09 16:30:24 +01:00
.yamllint chore: add linters 2025-04-09 16:30:24 +01:00
config.toml ci(crow): bump hugo to 0.164.0 and adopt the language APIs (#17) 2026-08-02 08:55:50 +00:00
go.mod chore: add link checker workflow 2025-04-09 17:53:32 +01:00
go.sum feat: add mkdocs versioning post 2025-04-09 16:19:26 +01:00
index.Rmd fira code monospace instead of sans-serif 2018-01-12 09:35:41 +01:00
Justfile refactor: update post creation just rule 2026-08-07 11:13:48 +02:00
Makefile makefile rule for preview 2024-09-20 19:10:32 +02:00
netlify.toml update hugo and go 2022-04-30 22:45:04 +02:00
pat-s_web.Rproj fira code monospace instead of sans-serif 2018-01-12 09:35:41 +01:00
README.md refactor: update post creation just rule 2026-08-07 11:13:48 +02:00
renovate.json chore: add renovate.json 2025-11-27 21:55:19 +01:00

README

Deployed on a small VPS behind NGINX.

Theme: etch

Usage instructions

The etch theme does not support rendering of .Rmd documents. Hence, each post which requires R code to be rendered is knitted first to .md. When using .Rmd directly, syntax highlighting would not work.

NOTE: On a new local clone, do the following to properly init the theme:

git submodule update
git submodule init

Images

For code which produces images, post-processing is needed with respect to file paths. The code is stored in the render.R file of the respective post. Example:

# fix path of figures created by code
system("gsed -i 's#content/posts#/posts#g' content/posts/2016-11-01-oddsratio/2016-11-01-oddsratio.md")

Auto-dark mode

The etch theme comes with an automatic auto-dark mode which respects system settings.

New post

just new-post <title>

Anchors for headers

  • Add layouts/_default/_markup/render-heading.html

Style:

main#content a.hash-link.nohover {
  text-decoration: none;
}

Source: https://natclark.com/tutorials/hugo-linked-headers/