diff options
Diffstat (limited to 'build/assets/js/16c663d0.57cb3e28.js')
-rw-r--r-- | build/assets/js/16c663d0.57cb3e28.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/assets/js/16c663d0.57cb3e28.js b/build/assets/js/16c663d0.57cb3e28.js new file mode 100644 index 00000000..7be67235 --- /dev/null +++ b/build/assets/js/16c663d0.57cb3e28.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocuments=self.webpackChunkdocuments||[]).push([[3710],{3202:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>g,frontMatter:()=>r,metadata:()=>i,toc:()=>l});var n=o(5893),s=o(1151);const r={sidebar_position:3},a="Create a Blog Post",i={id:"gian-tou/create-a-blog-post",title:"Create a Blog Post",description:"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...",source:"@site/docs/gian-tou/create-a-blog-post.md",sourceDirName:"gian-tou",slug:"/gian-tou/create-a-blog-post",permalink:"/docs/gian-tou/create-a-blog-post",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"giantouSidebar",previous:{title:"Create a Document",permalink:"/docs/gian-tou/create-a-document"},next:{title:"Markdown Features",permalink:"/docs/gian-tou/markdown-features"}},c={},l=[{value:"Create your first Post",id:"create-your-first-post",level:2}];function u(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"create-a-blog-post",children:"Create a Blog Post"}),"\n",(0,n.jsxs)(t.p,{children:["Docusaurus creates a ",(0,n.jsx)(t.strong,{children:"page for each blog post"}),", but also a ",(0,n.jsx)(t.strong,{children:"blog index page"}),", a ",(0,n.jsx)(t.strong,{children:"tag system"}),", an ",(0,n.jsx)(t.strong,{children:"RSS"})," feed..."]}),"\n",(0,n.jsx)(t.h2,{id:"create-your-first-post",children:"Create your first Post"}),"\n",(0,n.jsxs)(t.p,{children:["Create a file at ",(0,n.jsx)(t.code,{children:"blog/2021-02-28-greetings.md"}),":"]}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-md",metastring:'title="blog/2021-02-28-greetings.md"',children:"---\nslug: greetings\ntitle: Greetings!\nauthors:\n - name: Joel Marcey\n title: Co-creator of Docusaurus 1\n url: https://github.com/JoelMarcey\n image_url: https://github.com/JoelMarcey.png\n - name: S\xe9bastien Lorber\n title: Docusaurus maintainer\n url: https://sebastienlorber.com\n image_url: https://github.com/slorber.png\ntags: [greetings]\n---\n\nCongratulations, you have made your first post!\n\nFeel free to play around and edit this post as much you like.\n"})}),"\n",(0,n.jsxs)(t.p,{children:["A new blog post is now available at ",(0,n.jsx)(t.a,{href:"http://localhost:3000/blog/greetings",children:"http://localhost:3000/blog/greetings"}),"."]})]})}function g(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},1151:(e,t,o)=>{o.d(t,{Z:()=>i,a:()=>a});var n=o(7294);const s={},r=n.createContext(s);function a(e){const t=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),n.createElement(r.Provider,{value:t},e.children)}}}]);
\ No newline at end of file |