diff options
| -rw-r--r-- | nuldoc-src/pages/tag_list.ts | 4 | ||||
| -rw-r--r-- | public/tags/index.html | 56 |
2 files changed, 30 insertions, 30 deletions
diff --git a/nuldoc-src/pages/tag_list.ts b/nuldoc-src/pages/tag_list.ts index bb481f8..2b58ff3 100644 --- a/nuldoc-src/pages/tag_list.ts +++ b/nuldoc-src/pages/tag_list.ts @@ -33,8 +33,8 @@ export async function generateTagListPage( ...Array.from(tags).sort((a, b) => { const ta = a.tagSlug; const tb = b.tagSlug; - if (ta > tb) return -1; - if (ta < tb) return 1; + if (ta < tb) return -1; + if (ta > tb) return 1; return 0; }).map((tag) => el( diff --git a/public/tags/index.html b/public/tags/index.html index 50ad5fd..da88913 100644 --- a/public/tags/index.html +++ b/public/tags/index.html @@ -37,86 +37,86 @@ <h1>タグ一覧</h1> </header> <article class="post-entry"> - <a href="/tags/vim/"> <header class="entry-header"> - <h2>Vim</h2> + <a href="/tags/conference/"> <header class="entry-header"> + <h2>カンファレンス</h2> </header> </a> </article> <article class="post-entry"> - <a href="/tags/rust/"> <header class="entry-header"> - <h2>Rust</h2> + <a href="/tags/cpp/"> <header class="entry-header"> + <h2>C++</h2> </header> </a> </article> <article class="post-entry"> - <a href="/tags/ruby3/"> <header class="entry-header"> - <h2>Ruby 3</h2> + <a href="/tags/cpp17/"> <header class="entry-header"> + <h2>C++ 17</h2> </header> </a> </article> <article class="post-entry"> - <a href="/tags/ruby/"> <header class="entry-header"> - <h2>Ruby</h2> + <a href="/tags/note-to-self/"> <header class="entry-header"> + <h2>備忘録</h2> </header> </a> </article> <article class="post-entry"> - <a href="/tags/python3/"> <header class="entry-header"> - <h2>Python 3</h2> + <a href="/tags/php/"> <header class="entry-header"> + <h2>PHP</h2> </header> </a> </article> <article class="post-entry"> - <a href="/tags/python/"> <header class="entry-header"> - <h2>Python</h2> + <a href="/tags/phpcon/"> <header class="entry-header"> + <h2>PHP カンファレンス</h2> </header> </a> </article> <article class="post-entry"> - <a href="/tags/phpstudy-tokyo/"> <header class="entry-header"> - <h2>PHP 勉強会@東京</h2> + <a href="/tags/phperkaigi/"> <header class="entry-header"> + <h2>PHPerKaigi</h2> </header> </a> </article> <article class="post-entry"> - <a href="/tags/phperkaigi/"> <header class="entry-header"> - <h2>PHPerKaigi</h2> + <a href="/tags/phpstudy-tokyo/"> <header class="entry-header"> + <h2>PHP 勉強会@東京</h2> </header> </a> </article> <article class="post-entry"> - <a href="/tags/phpcon/"> <header class="entry-header"> - <h2>PHP カンファレンス</h2> + <a href="/tags/python/"> <header class="entry-header"> + <h2>Python</h2> </header> </a> </article> <article class="post-entry"> - <a href="/tags/php/"> <header class="entry-header"> - <h2>PHP</h2> + <a href="/tags/python3/"> <header class="entry-header"> + <h2>Python 3</h2> </header> </a> </article> <article class="post-entry"> - <a href="/tags/note-to-self/"> <header class="entry-header"> - <h2>備忘録</h2> + <a href="/tags/ruby/"> <header class="entry-header"> + <h2>Ruby</h2> </header> </a> </article> <article class="post-entry"> - <a href="/tags/cpp17/"> <header class="entry-header"> - <h2>C++ 17</h2> + <a href="/tags/ruby3/"> <header class="entry-header"> + <h2>Ruby 3</h2> </header> </a> </article> <article class="post-entry"> - <a href="/tags/cpp/"> <header class="entry-header"> - <h2>C++</h2> + <a href="/tags/rust/"> <header class="entry-header"> + <h2>Rust</h2> </header> </a> </article> <article class="post-entry"> - <a href="/tags/conference/"> <header class="entry-header"> - <h2>カンファレンス</h2> + <a href="/tags/vim/"> <header class="entry-header"> + <h2>Vim</h2> </header> </a> </article> |
