Commit graph

126 commits

Author SHA1 Message Date
facundoolano
e1926bd744 v0.4.0 2024-03-06 11:59:35 -03:00
facundoolano
7c4e0085df fix grammar 2024-03-06 11:43:49 -03:00
facundoolano
2afd897ab3 print site building times 2024-03-06 11:35:22 -03:00
facundoolano
d3ca71e95e more corrections to serve post 2024-03-06 11:26:12 -03:00
facundoolano
d37379a0b1 fix previous post date 2024-03-06 11:26:05 -03:00
facundoolano
2d2db99441 extract event broker instantiation 2024-03-06 11:25:52 -03:00
facundoolano
0d62e10a02 landing tweaks 2024-03-05 19:27:43 -03:00
facundoolano
6f480dee98 use location instead of hardcoded url in livereload snippets 2024-03-05 16:34:16 -03:00
facundoolano
98eb2cd556 finish serve post draft 2024-03-05 14:23:19 -03:00
facundoolano
28b2d32406 more post content 2024-03-05 10:54:36 -03:00
facundoolano
b16bfef0c6 fill in some content for the serve post 2024-03-04 17:23:06 -03:00
facundoolano
173a79d4ba cleanup serve post intro 2024-03-04 14:40:09 -03:00
facundoolano
1eeecd4f8f preserve font-size in inline code blogs 2024-03-04 14:39:53 -03:00
facundoolano
c3b77044a2 undraft change of plans post 2024-03-04 13:23:05 -03:00
facundoolano
edf8eda4dc cleanup change of plans post 2024-03-04 13:21:28 -03:00
facundoolano
17c75c0228 more sample code snippets in serve post 2024-03-04 11:26:18 -03:00
facundoolano
567db560f5 tweak docs and initfiles font sizes 2024-03-04 11:01:03 -03:00
facundoolano
60014e8813 more serve cmd and post updates 2024-03-04 10:33:55 -03:00
Facundo Olano
ff28ece092
Add more content for the serve command post (#23)
* document site api

* merge site.Load and site.Build into a single function

* fix tests

* make Site a private struct

* doc

* remove superfluous operation

* smaller tab width in source examples

* remove unnecessary temp var

* add some code snippet

* improve http fs naming

* add a few more code snippets

* cleanup serve code

* add watcher sample to blog post

* improve worker pool sample

* restore watcher close

* remove unused prefix

* some live reload samples in post

* remove outdated  command
2024-03-03 23:19:09 -03:00
facundoolano
af09593474 outline + intro for serve command post 2024-03-03 16:52:25 -03:00
facundoolano
11e4e32db8 smaller code font size in mobile 2024-03-03 12:00:58 -03:00
facundoolano
9b0593f211 don't mix yaml versions 2024-03-02 20:48:55 -03:00
facundoolano
c678ebd347 v0.3.0 2024-03-02 16:18:11 -03:00
Facundo Olano
c02e1fc91e
Add page.previous and page.next liquid variables (#22)
* sort pages

* rename tutorial files to enforce an order

* add prev next props to posts

* test previous next

* prevent nested recursive links between posts

* add a next/prev footer

* make prev/next work as expected for both pages and posts

* remove sort by index

* bold current section in nav
2024-03-02 16:16:40 -03:00
facundoolano
fd87093621 fix weird safari text resizing 2024-03-02 10:53:27 -03:00
facundoolano
8921006641 fix host flag shorthand 2024-03-02 10:38:59 -03:00
facundoolano
12897a011a cleanup post 2024-03-01 15:57:14 -03:00
facundoolano
8f102fe93c improve doc landing example 2024-03-01 14:45:57 -03:00
Facundo Olano
5993986044
Getting Started devlog (#21)
* getting started draft

* cleanup

* grammar fixes
2024-03-01 12:36:06 -03:00
Facundo Olano
adb17ad9d2
run linter in github actions (#20)
* run linter in github actions

* try fixing go mod

* no install go

* again

* maybe this?

* separate install

* no v

* fix lint errors
2024-02-29 19:34:33 -03:00
facundoolano
3064beb3a1 rephrase tutorial subtitles 2024-02-29 15:59:09 -03:00
facundoolano
67bbfc50f9 rephrase doc 2024-02-29 15:59:09 -03:00
Facundo Olano
d3bb9611ef
Update README.md 2024-02-29 14:43:20 -03:00
facundoolano
8f628b57d5 v0.2.1 2024-02-29 13:39:35 -03:00
facundoolano
e7b552b476 fix: close sse client before attempting a reconnection 2024-02-29 13:38:25 -03:00
Facundo Olano
17c6c46eab
project outline devlog post (#19)
* initial dump for project outline post

* complete first draft of the post

* draft change of plans post

* cleanup project outline

* grammar fixes
2024-02-29 13:29:49 -03:00
facundoolano
240aa38d3d fix docs makefile target 2024-02-28 11:13:27 -03:00
facundoolano
d92272729e v0.2.0 2024-02-28 11:12:38 -03:00
facundoolano
baa1099633 add makefile target to manage versioning 2024-02-28 11:12:17 -03:00
facundoolano
54043ccd57 update version 2024-02-28 10:27:50 -03:00
Facundo Olano
f733c83b1f
start devlog (#18)
* remove sample posts

* init first post

* try not ignoring file creation events

* draft why go section

* more why go

* why cli

* finish first draft

* reconnect with server after lost connection

* corrections

* more corrections

* grammarly

* remove docs section

* update comment

* remove doc index
2024-02-28 10:26:59 -03:00
facundoolano
fe42044405 add preview image 2024-02-27 12:59:22 -03:00
facundoolano
cb20f53ee3 update version 2024-02-27 12:43:01 -03:00
facundoolano
a7866b7d2c add a simpler templ render interface, support no highlighting 2024-02-27 12:40:40 -03:00
facundoolano
1461945787 assign the proper file modes 2024-02-27 12:30:00 -03:00
facundoolano
37f1675edc fix post filename already exist handling 2024-02-27 12:25:03 -03:00
Facundo Olano
6f27afacf7
Add drafts support (#17)
* add src and target ext as template methods

* add include drafts config

* default to draft on jorge post

* skip drafts from site indexes and rendering

* fix stat usage for file detection

* add site.Build test

* test build site with and without drafts

* add templ IsPost helper

* document drafts in readme

* document drafts in tutorial
2024-02-27 12:24:45 -03:00
Facundo Olano
e1280f07d5
Tutorial cleanup (#16)
* rewrite intro and swap with installation

* more content tweaks

* cleanup jorge-post in tutorial

* cleanup jorge build tutorial
2024-02-27 10:38:02 -03:00
facundoolano
a07d4af5c2 fix meta tags in docs and initfiles 2024-02-27 08:54:14 -03:00
Facundo Olano
e344dcb6ad
Syntax highlighting (#15)
* update markdown and org renderers to use chrome highlighting

* add example code blocks

* fix missing nav in default layout

* remove problematic code nowrap

* add language to tutorial samples

* set theme explicitly

* allow setting highlight theme with config

* fix config key for hl

* try to handle both light dark settings gracefully

* fix some problematic css color settings

* fix missing raw template

* fix weird chroma code height artifacts

* improve tabler rendering in mobile

* remove redundant default
2024-02-27 08:45:29 -03:00