Remove dates from html filenames and links
This commit is contained in:
parent
d6b336deae
commit
2276c525b9
@ -72,7 +72,6 @@ or
|
|||||||
|
|
||||||
## todo
|
## todo
|
||||||
|
|
||||||
* remove dates from html output and links
|
|
||||||
* page titles
|
* page titles
|
||||||
|
|
||||||
* draft documents
|
* draft documents
|
||||||
|
24
html/.gitignore
vendored
24
html/.gitignore
vendored
@ -1,14 +1,14 @@
|
|||||||
app.css
|
app.css
|
||||||
index.html
|
index.html
|
||||||
posts/2023-08-03-recursively-list-all-files-in-a-directory-with-elixir.html
|
posts/build-a-neovim-qt-appimage-from-source.html
|
||||||
posts/2023-09-15-open-an-iex-shell-from-an-elixir-script.html
|
posts/build-static-website-generator-part-1.html
|
||||||
posts/2023-10-08-start-erlangs-dialyzer-with-gui-from-a-docker-container.html
|
posts/deploy-elixir-generated-html-with-docker-on-digitalocean.html
|
||||||
posts/2023-10-16-fix-distortion-introduced-when-transforming-multiview-projections-to-isometric.html
|
posts/fix-distortion-introduced-when-transforming-multiview-projections-to-isometric.html
|
||||||
posts/2023-11-01-deploy-elixir-generated-html-with-docker-on-digitalocean.html
|
posts/index.html
|
||||||
posts/2023-11-15-test-mix-task-file-modify.html
|
posts/open-an-iex-shell-from-an-elixir-script.html
|
||||||
posts/2023-12-01-build-static-website-generator-part-1.html
|
posts/publish-markdown-documents-as-static-web-pages-with-pandoc-and-phoenix.html
|
||||||
posts/2024-01-01-build-a-neovim-qt-appimage-from-source.html
|
posts/recursively-list-all-files-in-a-directory-with-elixir.html
|
||||||
posts/2024-11-03-set-up-a-gitweb-server.html
|
posts/resize-a-qemu-disk-image.html
|
||||||
posts/2024-11-11-resize-a-qemu-disk-image.html
|
posts/set-up-a-gitweb-server.html
|
||||||
posts/2025-01-18-publish-markdown-documents-as-static-web-pages-with-pandoc-and-phoenix.html
|
posts/start-erlangs-dialyzer-with-gui-from-a-docker-container.html
|
||||||
posts/index.html
|
posts/test-mix-task-file-modify.html
|
@ -93,12 +93,14 @@ sitegen.create =>
|
|||||||
add "blog.html", target: "posts/index", template: "blog"
|
add "blog.html", target: "posts/index", template: "blog"
|
||||||
|
|
||||||
for path, target in pairs posts "docs"
|
for path, target in pairs posts "docs"
|
||||||
|
id = extract_id path
|
||||||
|
|
||||||
add path,
|
add path,
|
||||||
target: target
|
target: Path.join Path.basepath(target), id
|
||||||
template: "post"
|
template: "post"
|
||||||
is_a: "post"
|
is_a: "post"
|
||||||
publish_date: publish_date(path)
|
publish_date: publish_date path
|
||||||
id: extract_id(path)
|
id: id
|
||||||
titleize: (slug) -> html.build -> titleize_slug(slug)
|
titleize: (slug) -> html.build -> titleize_slug(slug)
|
||||||
|
|
||||||
-- replace post markdown yaml headers with moonscript headers
|
-- replace post markdown yaml headers with moonscript headers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user