188 Commits

Author SHA1 Message Date
276a64dd24 Remove unused image 2025-06-30 15:42:11 -07:00
c800c8e775 Remove bonus content 2025-06-30 15:40:56 -07:00
3f494b037d Update blurb 2025-06-30 15:31:17 -07:00
b165c2112e Update post date 2025-06-30 15:25:51 -07:00
f9ef223cf1 Edit post 2025-06-30 15:25:14 -07:00
5d7896e9e5 Update post 2025-06-29 20:28:07 -07:00
0cc8f18302 Update post 2025-06-27 10:57:09 -07:00
be52884226 Update post 2025-06-26 18:14:32 -07:00
3cb0b83e8a Update image in post 2025-06-26 13:41:35 -07:00
ca15a32429 Edit post 2025-06-26 13:20:01 -07:00
82f4e9c92e Assert /posts/index.html exists before request in nginx spec 2025-06-26 13:19:15 -07:00
eb896676cc Add a renderer spec for escape and undescape double dollar signs ($$name) 2025-06-26 13:15:42 -07:00
766c9bad62 Use '_' instead of '.' for numbering cosmo escapes
because it gets syntax highlighted weird because '.' is not valid for
like a variable name so the syntax highlighter is splitting the escape
phrase at the '.' which means that phrase won't match when unescaped so
it fails to get unescaped

for example, this would fail:

```
 $$ct
```
2025-06-25 21:10:30 -07:00
c26453415d Clean up last spec 2025-06-25 15:49:54 -07:00
dce537b50c Delete duplicate post 2025-06-25 15:25:08 -07:00
b7e6a93bf9 Add post draft 2025-06-25 14:51:12 -07:00
95b3589d22 Add markdown file 2025-06-25 14:51:12 -07:00
4ad479f8f9 Update commands in README.md 2025-06-25 14:47:23 -07:00
0e848c5e7b Change cosmo '$' escape string in markdown renderer
so that we can put 2 selectors next to each other and still be able to
tell where one ends and the other one begins
2025-06-25 14:44:32 -07:00
95e9be6e60 Fix spelling in blurb 2025-06-22 10:34:25 -07:00
aa33976fc8 Add deploy command to Makefile 2025-06-22 10:29:40 -07:00
2ecd7d2d9f Publish post 'Add a Pygments Lexer to Chroma' (#2)
Reviewed-on: #2
2025-06-22 16:56:45 +00:00
7839e30c28 Remove file that doesn't exist 2025-06-21 18:50:52 -07:00
9e3597e781 Use a variable to avoid repetition in Makefile 2025-06-21 18:47:47 -07:00
d5efecb3d5 Fix dev.nginx.conf 2025-06-20 15:18:57 -07:00
eebda46c39 Won't try to copy non-existent stylesheet 2025-06-20 15:12:20 -07:00
0513fd5c21 Edit README 2025-06-20 15:11:06 -07:00
c768adaadb Clean up comments and unused styles in stylesheets 2025-06-16 20:18:05 -07:00
3793a7ac6e Add failure error message to pygments lua-filter 2025-06-16 20:18:05 -07:00
41baffb445 Refactor pygments.moon 2025-06-16 20:18:05 -07:00
a4258167df Add spec for unlabeled code blocks 2025-06-16 20:18:05 -07:00
3f39bfeae7 Add test for syntax highlighting moonscript code block 2025-06-16 20:18:05 -07:00
26f77eab9a Add specs for pandoc markdown renderer 2025-06-16 20:18:05 -07:00
070bac262f Use a simpler nginx.conf in dev 2025-06-16 20:18:05 -07:00
b7ee091288 Remove commented-out code in pygments.moon 2025-06-16 20:18:05 -07:00
ec08aacba4 Remove commented-out lines in app.css 2025-06-16 20:18:05 -07:00
ada734af26 Remove unused file 2025-06-16 20:18:05 -07:00
f50997d75e Remove unused stylesheets 2025-06-16 20:18:05 -07:00
406208f26c Add tests for nginx.conf directives (#1)
Adds tests to make sure all the `nginx.conf` directives (the redirects and rewrites and such) are all correct.

- Uses the `busted` framework
- The tests are run in a Docker container by the bash script `test.sh`
- Self-signed certs are generated in `Dockerfile` for all the domain names
- Adds new `Makefile` commands: `test`, `image-build` and `image-rm`

Reviewed-on: #1
Co-authored-by: Catalin Mititiuc <webdevcat@proton.me>
Co-committed-by: Catalin Mititiuc <webdevcat@proton.me>
2025-06-16 20:18:05 -07:00
449a41aa85 Highlight some code-blocks with 'console' label
Update the dracula theme styles to make 'console' highlighting more legible
2025-06-16 20:18:05 -07:00
791cd692c6 Fix MIME types for apps.miti.sh 2025-06-16 20:18:05 -07:00
babcbd78e3 More redirect config 2025-06-16 20:18:05 -07:00
53a582be83 Add config to redirect from old domain 2025-06-16 20:18:05 -07:00
77659b6c65 Update links 2025-06-16 20:18:05 -07:00
4f75c44a6d Add original values in app.ini as comments 2025-06-16 20:18:05 -07:00
0b3317ace8 Fix indentation in nginx.conf 2025-06-16 20:18:05 -07:00
9f58d37c32 Update nginx.conf for SSL and add gitea app.ini file 2025-06-16 20:18:05 -07:00
4bec526ba8 Change some copy 2025-06-16 20:18:05 -07:00
59336774f7 Remove unused template 2025-06-16 20:18:05 -07:00
4fb02b461f Remove comment 2025-06-16 20:18:05 -07:00