Back to mdsvex
Posts and Devlog entries are compiled by mdsvex 1.0 again (two weeks after svelte-markdown replaced 0.12). The reason: components and live demos in posts…
23 entries with this tag.
Posts and Devlog entries are compiled by mdsvex 1.0 again (two weeks after svelte-markdown replaced 0.12). The reason: components and live demos in posts…
Phase 10 started: the site in English and Spanish. I chose a homemade setup over Paraglide JS: most of the text is markdown and YAML, which Paraglide doesn't…
Decided issue 3 from the start of the learning path: the site is findable. Only /mascot (a review sheet, not a page yet) says noindex.
Pages inside a section show where they are: Home / Projects / CV builder, Home / Blog / #css. Section pages (/projects, /about) don't, because the nav already…
Added src/lib/projects/: a typed list of projects (projects.ts) and one folder per tool. Each project's tool is a dynamic import(), so its code is its own…
Awesome lists are YAML files in content/awesome/, one per list: categories, then links with a title, url, description and tags. A list is data, not prose, so…
Added /blog/tags/[tag]: one prerendered page per tag, with its posts grouped by year. /blog got a tag index with counts.
Added minutes to every Entry in content.ts: the words in the file without its frontmatter, at 200 words a minute, rounded up, at least 1.
Added MarkdownLayout.svelte, passed to mdsvex's compile as layout. It wraps every .md file (posts and Devlog entries) and only renders children.
Moved every post to content/blog/drafts/. A post is a draft because of where it lives, so Entry.draft comes from the path and the draft: true frontmatter is…
Picked mdsvex 0.12.8 (stable) to render the markdown bodies. The 1.0.0-next rewrite is still a prerelease.
/projects/cv: pick a profile, fill in name, surnames, phone, email, city, state, postal code and a short letter, and a CV next to the form follows: name…
Going to another page started it where the old page was scrolled, then it glided up to the top. A reload halfway down glided back down too. Now a new page…
Phase 5 changed: no public CV. It has my phone, email and employers, so I send it on request. /cv became /about: what I work with, grouped (languages, web…
Planned what comes next: I'm applying for different kinds of jobs and need a CV for each. Phase 5.5 will be a CV builder (a /projects tool: pick a job…
Route changes now run inside a view transition of type route, started from onNavigate in the root layout.
A route can now say how the root layout arranges it: composition in its load data. Two values for now: default and reading.
Downloaded my GitHub avatar (460px JPEG, 24 KB) into src/lib/assets/avatar.jpg, rather than linking to GitHub.
Set paths.base from BASE_PATH, which CI sets to /${{ github.event.repository.name }}. The value is validated in vite.config.ts, and the build throws if it's…
Renamed jsconfig.json → tsconfig.json and pointed the check scripts at it.
Reviewed the SvelteKit 3 scaffold: adapter-static, runes forced, GitHub Pages CI.
Added search: a magnifying-glass button in the header opens a box under it (a popovertarget popover, like the colour theme menu). / opens it from anywhere.
Clicking a card (blog, Devlog, projects, Awesome, the home page) turns it into its page: the title, picture, date line, description and tags fly to their…