11<!DOCTYPE html>
2- < html lang ="en " dir ="auto " data-theme ="auto ">
2+ < html lang ="zh " dir ="auto " data-theme ="auto ">
33
44< head > < script src ="/livereload.js?mindelay=10&v=2&port=1313&path=livereload " data-no-instant defer > </ script > < meta charset ="utf-8 ">
55< meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
66< meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
7- < meta name ="robots " content ="noindex, nofollow ">
8- < title > Hello World | 技术博客 </ title >
7+ < meta name ="robots " content ="index, follow ">
8+ < title > Hello World | homemoon 的技术博客 </ title >
99< meta name ="keywords " content ="博客, Hugo ">
1010< meta name ="description " content ="这是我的第一篇技术博客 🚀
1111#include <iostream>
2323< link rel ="mask-icon " href ="http://localhost:1313/safari-pinned-tab.svg ">
2424< meta name ="theme-color " content ="#2e2e33 ">
2525< meta name ="msapplication-TileColor " content ="#2e2e33 ">
26- < link rel ="alternate " hreflang ="en " href ="http://localhost:1313/posts/hello-world/ ">
26+ < link rel ="alternate " hreflang ="zh " href ="http://localhost:1313/posts/hello-world/ ">
2727< noscript >
2828 < style >
2929 # theme-toggle ,
7575 document . querySelector ( "html" ) . dataset . theme = 'light' ;
7676 }
7777
78+ </ script > < meta property ="og:url " content ="http://localhost:1313/posts/hello-world/ ">
79+ < meta property ="og:site_name " content ="homemoon 的技术博客 ">
80+ < meta property ="og:title " content ="Hello World ">
81+ < meta property ="og:description " content ="这是我的第一篇技术博客 🚀
82+ #include <iostream> int main() { std::cout << "Hello World"; } ">
83+ < meta property ="og:locale " content ="zh-cn ">
84+ < meta property ="og:type " content ="article ">
85+ < meta property ="article:section " content ="posts ">
86+ < meta property ="article:published_time " content ="2026-01-10T00:00:00+00:00 ">
87+ < meta property ="article:modified_time " content ="2026-01-10T00:00:00+00:00 ">
88+ < meta property ="article:tag " content ="博客 ">
89+ < meta property ="article:tag " content ="Hugo ">
90+ < meta name ="twitter:card " content ="summary ">
91+ < meta name ="twitter:title " content ="Hello World ">
92+ < meta name ="twitter:description " content ="这是我的第一篇技术博客 🚀
93+ #include <iostream>
94+ int main() {
95+ std::cout << "Hello World";
96+ }
97+ ">
98+
99+
100+ < script type ="application/ld+json ">
101+ {
102+ "@context" : "https://schema.org" ,
103+ "@type" : "BreadcrumbList" ,
104+ "itemListElement" : [
105+ {
106+ "@type" : "ListItem" ,
107+ "position" : 1 ,
108+ "name" : "Posts" ,
109+ "item" : "http://localhost:1313/posts/"
110+ } ,
111+ {
112+ "@type" : "ListItem" ,
113+ "position" : 2 ,
114+ "name" : "Hello World" ,
115+ "item" : "http://localhost:1313/posts/hello-world/"
116+ }
117+ ]
118+ }
119+ </ script >
120+ < script type ="application/ld+json ">
121+ {
122+ "@context" : "https://schema.org" ,
123+ "@type" : "BlogPosting" ,
124+ "headline" : "Hello World" ,
125+ "name" : "Hello World" ,
126+ "description" : "这是我的第一篇技术博客 🚀\n#include \u0026lt;iostream\u0026gt; int main() { std::cout \u0026lt;\u0026lt; \u0026#34;Hello World\u0026#34;; } " ,
127+ "keywords" : [
128+ "博客" , "Hugo"
129+ ] ,
130+ "articleBody" : "这是我的第一篇技术博客 🚀\n#include int main() { std::cout \u003c\u003c \"Hello World\"; } " ,
131+ "wordCount" : "22" ,
132+ "inLanguage" : "zh" ,
133+ "datePublished" : "2026-01-10T00:00:00Z" ,
134+ "dateModified" : "2026-01-10T00:00:00Z" ,
135+ "mainEntityOfPage" : {
136+ "@type" : "WebPage" ,
137+ "@id" : "http://localhost:1313/posts/hello-world/"
138+ } ,
139+ "publisher" : {
140+ "@type" : "Organization" ,
141+ "name" : "homemoon 的技术博客" ,
142+ "logo" : {
143+ "@type" : "ImageObject" ,
144+ "url" : "http://localhost:1313/favicon.ico"
145+ }
146+ }
147+ }
78148</ script >
79149</ head >
80150< body id ="top ">
81151 < header class ="header ">
82152 < nav class ="nav ">
83153 < div class ="logo ">
84- < a href ="http://localhost:1313/ " accesskey ="h " title ="技术博客 (Alt + H) "> 技术博客 </ a >
154+ < a href ="http://localhost:1313/ " accesskey ="h " title ="homemoon 的技术博客 (Alt + H) "> homemoon 的技术博客 </ a >
85155 < div class ="logo-switches ">
86156 < button id ="theme-toggle " accesskey ="t " title ="(Alt + T) " aria-label ="Toggle theme ">
87157 < svg id ="moon " xmlns ="http://www.w3.org/2000/svg " width ="24 " height ="18 " viewBox ="0 0 24 24 "
117187 < h1 class ="post-title entry-hint-parent ">
118188 Hello World
119189 </ h1 >
120- < div class ="post-meta "> < span title ='2026-01-10 00:00:00 +0000 UTC '> January 10, 2026</ span > · < span > 1 min </ span >
190+ < div class ="post-meta "> < span title ='2026-01-10 00:00:00 +0000 UTC '> 2026-01-10 </ span > · < span > 1 分钟 </ span > · < span > 22 字 </ span >
121191
122192</ div >
123193 </ header >
@@ -141,7 +211,7 @@ <h1 class="post-title entry-hint-parent">
141211 </ main >
142212
143213< footer class ="footer ">
144- < span > © 2026 < a href ="http://localhost:1313/ "> 技术博客 </ a > </ span > ·
214+ < span > © 2026 < a href ="http://localhost:1313/ "> homemoon 的技术博客 </ a > </ span > ·
145215
146216 < span >
147217 Powered by
@@ -221,12 +291,12 @@ <h1 class="post-title entry-hint-parent">
221291
222292 const copybutton = document . createElement ( 'button' ) ;
223293 copybutton . classList . add ( 'copy-code' ) ;
224- copybutton . innerHTML = 'copy ' ;
294+ copybutton . innerHTML = '复制 ' ;
225295
226296 function copyingDone ( ) {
227- copybutton . innerHTML = 'copied! ' ;
297+ copybutton . innerHTML = '已复制! ' ;
228298 setTimeout ( ( ) => {
229- copybutton . innerHTML = 'copy ' ;
299+ copybutton . innerHTML = '复制 ' ;
230300 } , 2000 ) ;
231301 }
232302
0 commit comments