diff --git a/src/assets/css/style.css b/src/assets/css/style.css index 09233e4..16c92b3 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -171,6 +171,12 @@ code { font-family: 'IBM Plex Mono', monospace; } +.date { + display: inline; + margin-left: 10px; + font-style: italic; +} + @media screen and (max-width: 992px) { body { margin-right: 10vw; @@ -192,4 +198,4 @@ code { blockquote { margin-left: 0px; } -} \ No newline at end of file +} diff --git a/src/index.md b/src/index.md index 4cf6ce6..529625c 100644 --- a/src/index.md +++ b/src/index.md @@ -1,4 +1,6 @@ #### Articles - + diff --git a/ssg5 b/ssg5 index a6e09a5..745d9fc 100755 --- a/ssg5 +++ b/ssg5 @@ -102,7 +102,6 @@ main() { test -n "$urls" && render_sitemap "$urls" "$base_url" "$date" > "$dst/sitemap.xml" - render_article_list "$urls" "$base_url" "$dst" "$src" print_status 'url' 'urls' "$urls" >&2 echo >&2 @@ -254,21 +253,6 @@ list_pages() { sed 's#^./##;s#.md$#.html#;s#/index.html$#/#' } -render_article_list() { - urls="$1" - base_url="$2" - items="" - for i in $1; do - if ! echo $i | grep -Eq "index|contact"; then - url="$i" - page_title=$(head -n 1 "$4/${i%\.html}.md" | cut -c 3-) - item="
  • ${page_title}
  • " - items=$items$item - fi - done - sed -i "s|||g" "$3/index.html" -} - render_sitemap() { urls="$1" base_url="$2"