diff --git a/assets/Share Tech Mono.ttf b/assets/css/Share Tech Mono.ttf similarity index 100% rename from assets/Share Tech Mono.ttf rename to assets/css/Share Tech Mono.ttf diff --git a/assets/style.css b/assets/css/style.css similarity index 100% rename from assets/style.css rename to assets/css/style.css diff --git a/assets/js/main.js b/assets/js/main.js index 520e073..4b4d791 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -31,10 +31,10 @@ function localize_menu() { if (lang == 'pt') { home.innerText='Início' - rss.setAttribute('href', 'pt.rss') + rss.setAttribute('href', 'assets/rss/pt.rss') } else { home.innerText='Home' - rss.setAttribute('href', 'en.rss') + rss.setAttribute('href', 'assets/rss/en.rss') } } diff --git a/en.rss b/assets/rss/en.rss similarity index 100% rename from en.rss rename to assets/rss/en.rss diff --git a/pt.rss b/assets/rss/pt.rss similarity index 100% rename from pt.rss rename to assets/rss/pt.rss diff --git a/index.html b/index.html index f65262e..9768a2e 100644 --- a/index.html +++ b/index.html @@ -4,9 +4,9 @@ jutty.dev - - - + + + @@ -33,7 +33,7 @@
  • Home
  • English
  • Português
  • -
  • RSS
  • +
  • RSS
  • Mastodon
  • diff --git a/posts/gen.ml b/posts/gen.ml index 12f68a5..dd84cf6 100755 --- a/posts/gen.ml +++ b/posts/gen.ml @@ -1,6 +1,6 @@ #!/usr/bin/env utop -let args = "--css ../assets/style.css --standalone " ^ +let args = "--css ../assets/css/style.css --standalone " ^ "--from markdown+yaml_metadata_block " ^ "--to html5 " ^ "--highlight-style zenburn " ^ "--template=template.html " diff --git a/posts/hello-worldling.html b/posts/hello-worldling.html index 5adecf0..9119450 100644 --- a/posts/hello-worldling.html +++ b/posts/hello-worldling.html @@ -16,9 +16,9 @@ ul.task-list{list-style: none;} .display.math{display: block; text-align: center; margin: 0.5rem auto;} - - - + + + diff --git a/posts/scripts-em-ocaml.html b/posts/scripts-em-ocaml.html index 1b795e6..aa59f1b 100644 --- a/posts/scripts-em-ocaml.html +++ b/posts/scripts-em-ocaml.html @@ -77,9 +77,9 @@ code span.wa { color: #7f9f7f; font-weight: bold; } /* Warning */ .display.math{display: block; text-align: center; margin: 0.5rem auto;} - - - + + + diff --git a/posts/template.html b/posts/template.html index 9bbd0bf..a21bac6 100644 --- a/posts/template.html +++ b/posts/template.html @@ -23,8 +23,8 @@ $for(css)$ $endfor$ - - + + $for(header-includes)$ $header-includes$ diff --git a/update-feed.zsh b/update-feed.zsh index d34f6e7..cc7634c 100755 --- a/update-feed.zsh +++ b/update-feed.zsh @@ -82,5 +82,5 @@ function insert_from { done } -insert_from "$index_pt" pt.rss -insert_from "$index_en" en.rss +insert_from "$index_pt" assets/rss/pt.rss +insert_from "$index_en" assets/rss/en.rss