Files
weiyu/docs/assets/js/d9f32620.e7d2484e.js
jack ning fffbecbf17 update
2025-01-03 07:52:00 +08:00

1 line
3.9 KiB
JavaScript

"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5557],{8065:(e,s,o)=>{o.r(s),o.d(s,{assets:()=>i,contentTitle:()=>a,default:()=>d,frontMatter:()=>r,metadata:()=>t,toc:()=>c});var t=o(8811),n=o(5723),l=o(6246);const r={slug:"welcome",title:"Welcome",authors:["slorber","yangshun"],tags:["facebook","hello","docusaurus"]},a=void 0,i={authorsImageUrls:[void 0,void 0]},c=[];function u(e){const s={a:"a",code:"code",img:"img",li:"li",p:"p",strong:"strong",ul:"ul",...(0,l.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.a,{href:"https://docusaurus.io/docs/blog",children:"Docusaurus blogging features"})," are powered by the ",(0,n.jsx)(s.a,{href:"https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog",children:"blog plugin"}),"."]}),"\n",(0,n.jsx)(s.p,{children:"Here are a few tips you might find useful."}),"\n",(0,n.jsxs)(s.p,{children:["Simply add Markdown files (or folders) to the ",(0,n.jsx)(s.code,{children:"blog"})," directory."]}),"\n",(0,n.jsxs)(s.p,{children:["Regular blog authors can be added to ",(0,n.jsx)(s.code,{children:"authors.yml"}),"."]}),"\n",(0,n.jsx)(s.p,{children:"The blog post date can be extracted from filenames, such as:"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.code,{children:"2019-05-30-welcome.md"})}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.code,{children:"2019-05-30-welcome/index.md"})}),"\n"]}),"\n",(0,n.jsx)(s.p,{children:"A blog post folder can be convenient to co-locate blog post images:"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.img,{alt:"Docusaurus Plushie",src:o(8043).A+"",width:"1500",height:"500"})}),"\n",(0,n.jsx)(s.p,{children:"The blog supports tags as well!"}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.strong,{children:"And if you don't want a blog"}),": just delete this directory, and use ",(0,n.jsx)(s.code,{children:"blog: false"})," in your Docusaurus config."]})]})}function d(e={}){const{wrapper:s}={...(0,l.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},8043:(e,s,o)=>{o.d(s,{A:()=>t});const t=o.p+"assets/images/docusaurus-plushie-banner-a60f7593abca1e3eef26a9afa244e4fb.jpeg"},6246:(e,s,o)=>{o.d(s,{R:()=>r,x:()=>a});var t=o(2155);const n={},l=t.createContext(n);function r(e){const s=t.useContext(l);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function a(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:r(e.components),t.createElement(l.Provider,{value:s},e.children)}},8811:e=>{e.exports=JSON.parse('{"permalink":"/bytedesk/blog/welcome","editUrl":"https://github.com/bytedesk/bytedesk/blog/2021-08-26-welcome/index.md","source":"@site/blog/2021-08-26-welcome/index.md","title":"Welcome","description":"Docusaurus blogging features are powered by the blog plugin.","date":"2021-08-26T00:00:00.000Z","tags":[{"inline":false,"label":"Facebook","permalink":"/bytedesk/blog/tags/facebook","description":"Facebook tag description"},{"inline":false,"label":"Hello","permalink":"/bytedesk/blog/tags/hello","description":"Hello tag description"},{"inline":false,"label":"Docusaurus","permalink":"/bytedesk/blog/tags/docusaurus","description":"Docusaurus tag description"}],"readingTime":0.465,"hasTruncateMarker":true,"authors":[{"name":"S\xe9bastien Lorber","title":"Docusaurus maintainer","url":"https://sebastienlorber.com","imageURL":"https://github.com/slorber.png","key":"slorber","page":null},{"name":"Yangshun Tay","title":"Front End Engineer @ Facebook","url":"https://github.com/yangshun","imageURL":"https://github.com/yangshun.png","key":"yangshun","page":null}],"frontMatter":{"slug":"welcome","title":"Welcome","authors":["slorber","yangshun"],"tags":["facebook","hello","docusaurus"]},"unlisted":false,"prevItem":{"title":"QR Code Login Implementation Process","permalink":"/bytedesk/blog/scan-to-login"},"nextItem":{"title":"MDX Blog Post","permalink":"/bytedesk/blog/mdx-blog-post"}}')}}]);