@wilboerht/blog-template
Version:
A modern bilingual blog template built with VitePress
6 lines (5 loc) • 3.69 kB
JavaScript
import{_ as t,c as i,a,o as s}from"./chunks/framework.D3nGTGqI.js";const c=JSON.parse('{"title":"Getting Started","description":"","frontmatter":{"title":"Getting Started","date":"2024-01-20T00:00:00.000Z","tags":["guide","introduction"]},"headers":[],"relativePath":"posts/getting-started.md","filePath":"posts/getting-started.md"}'),n={name:"posts/getting-started.md"};function l(o,e,r,d,h,p){return s(),i("div",null,e[0]||(e[0]=[a(`<h1 id="getting-started" tabindex="-1">Getting Started <a class="header-anchor" href="#getting-started" aria-label="Permalink to "Getting Started""></a></h1><p>Welcome to my blog! This is a blog website built with VitePress.</p><h2 id="features" tabindex="-1">Features <a class="header-anchor" href="#features" aria-label="Permalink to "Features""></a></h2><ul><li>📝 Markdown Writing Support</li><li>🌍 Chinese and English Internationalization</li><li>🖼️ Support for Images, Videos, and PDF files</li><li>🎨 Beautiful Theme</li><li>🚀 Fast Static Site Generation</li></ul><h2 id="how-to-use" tabindex="-1">How to Use <a class="header-anchor" href="#how-to-use" aria-label="Permalink to "How to Use""></a></h2><h3 id="adding-new-posts" tabindex="-1">Adding New Posts <a class="header-anchor" href="#adding-new-posts" aria-label="Permalink to "Adding New Posts""></a></h3><ol><li>Create a new <code>.md</code> file in the <code>docs/en/posts</code> directory</li><li>Add frontmatter configuration</li><li>Write your content</li></ol><h3 id="adding-media-files" tabindex="-1">Adding Media Files <a class="header-anchor" href="#adding-media-files" aria-label="Permalink to "Adding Media Files""></a></h3><div class="language-markdown vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">markdown</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"></span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><video src="/assets/videos/demo.mp4" controls></video></span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">[</span><span style="--shiki-light:#032F62;--shiki-light-text-decoration:underline;--shiki-dark:#DBEDFF;--shiki-dark-text-decoration:underline;">Download PDF</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">](</span><span style="--shiki-light:#24292E;--shiki-light-text-decoration:underline;--shiki-dark:#E1E4E8;--shiki-dark-text-decoration:underline;">/assets/pdf/document.pdf</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span></code></pre></div><h2 id="next-steps" tabindex="-1">Next Steps <a class="header-anchor" href="#next-steps" aria-label="Permalink to "Next Steps""></a></h2><ul><li>Browse more <a href="./">Blog Posts</a></li><li>Learn <a href="./../about.html">About Me</a></li><li>Visit <a href="https://github.com" target="_blank" rel="noreferrer">GitHub</a></li></ul>`,11)]))}const k=t(n,[["render",l]]);export{c as __pageData,k as default};