Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sitemapの追加 #123

Merged
merged 1 commit into from
Jan 10, 2025
Merged

Sitemapの追加 #123

merged 1 commit into from
Jan 10, 2025

Conversation

akira888
Copy link
Contributor

@akira888 akira888 commented Dec 27, 2024

Issue: #107

こちらを参考に https://everyleaf.github.io/hotwire_ja/ にサイトマップを設置しました。(robots.txtも)

お手元で npm run serve を実行していただければ確認できます。
スクリーンショット 2024-12-27 9 52 13

生成内容
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    
       
        <url>
            <loc>/README/</loc>
            <lastmod>2024-08-06T01:20:01.242Z</lastmod>
            <changefreq>monthly</changefreq>
        </url>
        
    
       
        <url>
            <loc>/turbo/handbook/drive/</loc>
            <lastmod>2024-08-06T01:20:01.246Z</lastmod>
            <changefreq>monthly</changefreq>
        </url>
        
    
       
        <url>
            <loc>/turbo/reference/attributes/</loc>
            <lastmod>2024-08-06T01:20:01.248Z</lastmod>
            <changefreq>monthly</changefreq>
        </url>
        
    
       
        <url>
            <loc>/turbo/reference/drive/</loc>
            <lastmod>2024-08-06T01:20:01.249Z</lastmod>
            <changefreq>monthly</changefreq>
        </url>
        
    
       
        <url>
            <loc>/turbo/reference/events/</loc>
            <lastmod>2024-08-06T01:20:01.250Z</lastmod>
            <changefreq>monthly</changefreq>
        </url>
        
    
       
        <url>
            <loc>/turbo/reference/frames/</loc>
            <lastmod>2024-08-06T01:20:01.250Z</lastmod>
            <changefreq>monthly</changefreq>
        </url>
        
    
       
        <url>
            <loc>/turbo/reference/streams/</loc>
            <lastmod>2024-08-06T01:20:01.251Z</lastmod>
            <changefreq>monthly</changefreq>
        </url>
        
    
       
        <url>
            <loc>/turbo/handbook/building/</loc>
            <lastmod>2024-09-17T01:46:46.592Z</lastmod>
            <changefreq>monthly</changefreq>
        </url>
        
    
       
        <url>
            <loc>/turbo/handbook/installing/</loc>
            <lastmod>2024-09-17T01:46:46.593Z</lastmod>
            <changefreq>monthly</changefreq>
        </url>
        
    
       
        <url>
            <loc>/turbo/handbook/frames/</loc>
            <lastmod>2024-09-24T01:58:33.849Z</lastmod>
            <changefreq>monthly</changefreq>
        </url>
        
    
       
        <url>
            <loc>/turbo/handbook/streams/</loc>
            <lastmod>2024-09-24T01:58:33.851Z</lastmod>
            <changefreq>monthly</changefreq>
        </url>
        
    
       
        <url>
            <loc>/</loc>
            <lastmod>2024-10-08T01:36:58.160Z</lastmod>
            <changefreq>monthly</changefreq>
        </url>
        
    
       
        <url>
            <loc>/turbo/handbook/page_refreshes/</loc>
            <lastmod>2024-11-03T07:28:57.116Z</lastmod>
            <changefreq>monthly</changefreq>
        </url>
        
    
       
        <url>
            <loc>/turbo/handbook/introduction/</loc>
            <lastmod>2024-12-06T06:20:47.297Z</lastmod>
            <changefreq>monthly</changefreq>
        </url>
        
    
       
        <url>
            <loc>/turbo/handbook/native/</loc>
            <lastmod>2024-12-06T06:20:47.299Z</lastmod>
            <changefreq>monthly</changefreq>
        </url>
        
    
</urlset>

changefreq は、各ページのFrontMatterから微調整もできるそうです(更新頻度の高いページだけ変更することもできる)

@akira888 akira888 linked an issue Dec 27, 2024 that may be closed by this pull request
Copy link
Member

@yakitorii yakitorii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ふんわりみてLGTM!

@yakitorii yakitorii merged commit 0d67fa9 into main Jan 10, 2025
1 check passed
@yakitorii yakitorii deleted the add-sitemap branch January 10, 2025 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

サイトマップの追加
2 participants