www.mtkn.jp

Manuscripts for my personal webpage.
git clone https://git.mtkn.jp/www.mtkn.jp
Log | Files | Refs | README

commit 5c1d283c15beb0a5582e9252000d0311a043e78e
parent 278df4651e52db0402d96734fdd55178786240ab
Author: Matsuda Kenji <contact2655@matsudakenji.xyz>
Date:   Wed, 12 Jan 2022 20:34:18 +0900

fix bug

Diffstat:
Mbin/update | 8++++----
Mpub/sitemap.xml | 4++--
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/bin/update b/bin/update @@ -30,12 +30,12 @@ render_sitemap(){ echo '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' (cd $pub && find . -name '*.html' | xargs ls -lT ) | awk '{print $9 "-" $6 "-" $7, $10}' | - sed 's/\(^....-\)Jan/\11/;s/\(^....-\)Feb/\12/;s/\(^....-\)Mar/\11/; - s/\(^....-\)Apr/\14/;s/\(^....-\)May/\15/;s/\(^....-\)Jun/\16/; - s/\(^....-\)Jul/\17/;s/\(^....-\)Aug/\18/;s/\(^....-\)Sep/\19/; + sed 's/\(^....-\)Jan/\101/;s/\(^....-\)Feb/\102/;s/\(^....-\)Mar/\103/; + s/\(^....-\)Apr/\104/;s/\(^....-\)May/\105/;s/\(^....-\)Jun/\106/; + s/\(^....-\)Jul/\107/;s/\(^....-\)Aug/\108/;s/\(^....-\)Sep/\109/; s/\(^....-\)Oct/\110/;s/\(^....-\)Nov/\111/;s/\(^....-\)Dec/\112/; s/\(^[^ ]* \)\./\1/; s;/index.html$;/;' | - sed 's;\(^....-..-..\) \(.*$\);<url><loc>'"$url"'\2</loc><lastmod>\1</lastmod></url>;' + sed -E 's;(^....-..-..?) (.*$);<url><loc>'"$url"'\2</loc><lastmod>\1</lastmod></url>;' echo '</urlset>' } diff --git a/pub/sitemap.xml b/pub/sitemap.xml @@ -25,10 +25,10 @@ <url><loc>https://www.matsudakenji.xyz/blog/posts/20211129.html</loc><lastmod>2021-12-16</lastmod></url> <url><loc>https://www.matsudakenji.xyz/blog/posts/20211214.html</loc><lastmod>2021-12-16</lastmod></url> <url><loc>https://www.matsudakenji.xyz/computer/archlinux_installation.html</loc><lastmod>2021-12-16</lastmod></url> -2022-1-12 /computer/rtx1200-qos.html +<url><loc>https://www.matsudakenji.xyz/computer/rtx1200-qos.html</loc><lastmod>2022-01-12</lastmod></url> <url><loc>https://www.matsudakenji.xyz/computer/what-i-use.html</loc><lastmod>2021-12-16</lastmod></url> <url><loc>https://www.matsudakenji.xyz/error/404.html</loc><lastmod>2021-12-16</lastmod></url> -2022-1-9 /farm/journal/2021.html +<url><loc>https://www.matsudakenji.xyz/farm/journal/2021.html</loc><lastmod>2022-01-9</lastmod></url> <url><loc>https://www.matsudakenji.xyz/</loc><lastmod>2021-12-16</lastmod></url> <url><loc>https://www.matsudakenji.xyz/misc/migration.html</loc><lastmod>2021-12-16</lastmod></url> <url><loc>https://www.matsudakenji.xyz/plants/myrica_rubra.html</loc><lastmod>2021-12-16</lastmod></url>