1 line
2.9 KiB
JavaScript
1 line
2.9 KiB
JavaScript
"use strict";(self.webpackChunkthreetwo_docs=self.webpackChunkthreetwo_docs||[]).push([[642],{6911:function(e,t,o){o.r(t),o.d(t,{frontMatter:function(){return u},contentTitle:function(){return r},metadata:function(){return i},assets:function(){return c},toc:function(){return p},default:function(){return g}});var n=o(7462),a=o(3366),l=(o(7294),o(3905)),s=["components"],u={slug:"welcome",title:"Welcome",authors:["slorber","yangshun"],tags:["facebook","hello","docusaurus"]},r=void 0,i={permalink:"/threetwo-docs/blog/welcome",editUrl:"https://github.com/facebook/docusaurus/edit/main/website/blog/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",formattedDate:"August 26, 2021",tags:[{label:"facebook",permalink:"/threetwo-docs/blog/tags/facebook"},{label:"hello",permalink:"/threetwo-docs/blog/tags/hello"},{label:"docusaurus",permalink:"/threetwo-docs/blog/tags/docusaurus"}],readingTime:.405,truncated:!1,authors:[{name:"S\xe9bastien Lorber",title:"Docusaurus maintainer",url:"https://sebastienlorber.com",imageURL:"https://github.com/slorber.png",key:"slorber"},{name:"Yangshun Tay",title:"Front End Engineer @ Facebook",url:"https://github.com/yangshun",imageURL:"https://github.com/yangshun.png",key:"yangshun"}],nextItem:{title:"MDX Blog Post",permalink:"/threetwo-docs/blog/mdx-blog-post"}},c={authorsImageUrls:[void 0,void 0]},p=[],d={toc:p};function g(e){var t=e.components,u=(0,a.Z)(e,s);return(0,l.kt)("wrapper",(0,n.Z)({},d,u,{components:t,mdxType:"MDXLayout"}),(0,l.kt)("p",null,(0,l.kt)("a",{parentName:"p",href:"https://docusaurus.io/docs/blog"},"Docusaurus blogging features")," are powered by the ",(0,l.kt)("a",{parentName:"p",href:"https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog"},"blog plugin"),"."),(0,l.kt)("p",null,"Simply add Markdown files (or folders) to the ",(0,l.kt)("inlineCode",{parentName:"p"},"blog")," directory."),(0,l.kt)("p",null,"Regular blog authors can be added to ",(0,l.kt)("inlineCode",{parentName:"p"},"authors.yml"),"."),(0,l.kt)("p",null,"The blog post date can be extracted from filenames, such as:"),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"2019-05-30-welcome.md")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("inlineCode",{parentName:"li"},"2019-05-30-welcome/index.md"))),(0,l.kt)("p",null,"A blog post folder can be convenient to co-locate blog post images:"),(0,l.kt)("p",null,(0,l.kt)("img",{alt:"Docusaurus Plushie",src:o(4464).Z})),(0,l.kt)("p",null,"The blog supports tags as well!"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"And if you don't want a blog"),": just delete this directory, and use ",(0,l.kt)("inlineCode",{parentName:"p"},"blog: false")," in your Docusaurus config."))}g.isMDXComponent=!0},4464:function(e,t,o){t.Z=o.p+"assets/images/docusaurus-plushie-banner-a60f7593abca1e3eef26a9afa244e4fb.jpeg"}}]); |