<!DOCTYPE html><htmllang="ro"><head><metacharSet="utf-8"/><metahttp-equiv="X-UA-Compatible"content="IE=edge"/><title>Adding a Blog · Docusaurus</title><metaname="viewport"content="width=device-width"/><metaname="generator"content="Docusaurus"/><metaname="description"content="<h2><aclass="anchor"aria-hidden="true"id="setup-inițial"></a><ahref="#setup-inițial"aria-hidden="true"class="hash-link"><svgclass="hash-link-icon"aria-hidden="true"height="16"version="1.1"viewBox="001616"width="16"><pathfill-rule="evenodd"d="M49h1v1H4c-1.50-3-1.69-3-3.5S2.55343h4c1.45031.6933.501.41-.912.72-23.25V8.59c.58-.451-1.271-2.09C105.228.98484H4c-.980-21.22-22.5S3949zm9-3h-1v1h1c1021.2222.5S13.98121312H9c-.980-2-1.22-2-2.50-.83.42-1.641-2.09V6.25c-1.09.53-21.84-23.25C611.317.5513913h4c1.4503-1.693-3.5S14.56136z"></path></svg></a>Setupinițial</h2>
"/><metaname="docsearch:version"content="1.7.1"/><metaname="docsearch:language"content="ro"/><metaproperty="og:title"content="Adding a Blog · Docusaurus"/><metaproperty="og:type"content="website"/><metaproperty="og:url"content="https://docusaurus.io/index.html"/><metaproperty="og:description"content="<h2><aclass="anchor"aria-hidden="true"id="setup-inițial"></a><ahref="#setup-inițial"aria-hidden="true"class="hash-link"><svgclass="hash-link-icon"aria-hidden="true"height="16"version="1.1"viewBox="001616"width="16"><pathfill-rule="evenodd"d="M49h1v1H4c-1.50-3-1.69-3-3.5S2.55343h4c1.45031.6933.501.41-.912.72-23.25V8.59c.58-.451-1.271-2.09C105.228.98484H4c-.980-21.22-22.5S3949zm9-3h-1v1h1c1021.2222.5S13.98121312H9c-.980-2-1.22-2-2.50-.83.42-1.641-2.09V6.25c-1.09.53-21.84-23.25C611.317.5513913h4c1.4503-1.693-3.5S14.56136z"></path></svg></a>Setupinițial</h2>
"/><metaproperty="og:image"content="https://docusaurus.io/img/docusaurus.png"/><metaname="twitter:card"content="summary"/><metaname="twitter:image"content="https://docusaurus.io/img/docusaurus.png"/><linkrel="shortcut icon"href="/img/docusaurus.ico"/><linkrel="stylesheet"href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css"/><linkrel="stylesheet"href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/atom-one-dark.min.css"/><linkrel="alternate"type="application/atom+xml"href="https://docusaurus.io/blog/atom.xml"title="Docusaurus Blog ATOM Feed"/><linkrel="alternate"type="application/rss+xml"href="https://docusaurus.io/blog/feed.xml"title="Docusaurus Blog RSS Feed"/><script>
</script></span><liclass="navSearchWrapper reactNavSearchWrapper"><inputtype="text"id="search_input_react"placeholder="Search"title="Search"/></li></ul></nav></div></header></div></div><divclass="navPusher"><divclass="docMainWrapper wrapper"><divclass="container docsNavContainer"id="docsNav"><navclass="toc"><divclass="toggleNav"><sectionclass="navWrapper wrapper"><divclass="navBreadcrumb wrapper"><divclass="navToggle"id="navToggler"><i></i></div><h2><i>›</i><span>Guides</span></h2><divclass="tocToggler"id="tocToggler"><iclass="icon-toc"></i></div></div><divclass="navGroups"><divclass="navGroup"><h3class="navGroupCategoryTitle collapsible">Getting Started<spanclass="arrow">⌃</span></h3><ulclass="hide"><liclass="navListItem"><aclass="navItem"href="/docs/ro/installation">Installation</a></li><liclass="navListItem"><aclass="navItem"href="/docs/ro/site-preparation">Site Preparation</a></li><liclass="navListItem"><aclass="navItem"href="/docs/ro/site-creation">Creating your site</a></li><liclass="navListItem"><aclass="navItem"href="/docs/ro/publishing">Publishing your site</a></li><liclass="navListItem"><aclass="navItem"href="/docs/ro/docker">Docker</a></li></ul></div><divclass="navGroup"><h3class="navGroupCategoryTitle collapsible">Guides<spanclass="arrow">⌃</span></h3><ulclass="hide"><liclass="navListItem navListItemActive"><aclass="navItem"href="/docs/ro/adding-blog">Adding a Blog</a></li><liclass="navListItem"><aclass="navItem"href="/docs/ro/custom-pages">Custom Pages</a></li><liclass="navListItem"><aclass="navItem"href="/docs/ro/search">Enabling Search</a></li><liclass="navListItem"><aclass="navItem"href="/docs/ro/navigation">Navigation and Sidebars</a></li><liclass="navListItem"><aclass="navItem"href="/docs/ro/translation">Translations & Localization</a></li><liclass="navListItem"><aclass="navItem"href="/docs/ro/versioning">Versioning</a></li></ul></div><divclass="navGroup"><h3class="navGroupCategoryTitle collapsible">API<spanclass="arrow">⌃</span></h3><ulclass="hide"><liclass="navListItem"><aclass="navItem"href="/docs/ro/commands">CLI Commands</a></li><liclass="navListItem"><aclass="navItem"href="/docs/ro/doc-markdown">Markdown Features</a></li><liclass="navListItem"><aclass="navItem"href="/docs/ro/api-pages">Pages and Styles</a></li><liclass="navListItem"><aclass="navItem"href="/docs/ro/site-config">siteConfig.js</a></li></ul></div></div></section></div><script>
var coll = document.getElementsByClassName('collapsible');
var checkActiveCategory = true;
for (var i = 0; i <coll.length;i++){
var links = coll[i].nextElementSibling.getElementsByTagName('*');
if (checkActiveCategory){
for (var j = 0; j <links.length;j++){
if (links[j].classList.contains('navListItemActive')){
<p>To publish in the blog, create a file within the blog directory with a formatted name of <code>YYYY-MM-DD-My-Blog-Post-Title.md</code>. The post date is extracted from the file name.</p>
<p>Spre exemplu, la <code>siteweb/blog/2017-08-18-Introducând-Docusaurus.md</code>:</p>
<p>Singurul câmp necesar este <code>titlu</code>; cu toate acestea, vă oferim opțiuni să adăugați informații despre autor la post-area ta de blog deasemenea.</p>
<ul>
<li><code>autor</code> - Eticheta textului a byline-ului autorului.</li>
<li><code>authorURL</code> - The URL associated with the author. This could be a Twitter, GitHub, Facebook account, etc.</li>
<li><code>authorFBID</code> - The Facebook profile ID that is used to fetch the profile picture.</li>
<li><code>authorImageURL</code> - The URL to the author's image. (Note: If you use both <code>authorFBID</code> and <code>authorImageURL</code>, <code>authorFBID</code> will take precedence. Don't include <code>authorFBID</code> if you want <code>authorImageURL</code> to appear.)</li>
<li><code>title</code> - The blog post title.</li>
<p>Use the <code><!--truncate--></code> marker in your blog post to represent what will be shown as the summary when viewing all published blog posts. Orice mai sus <code><!--truncate--></code> vor fi parte din sumar. De exemplu:</p>
<p>You can configure a specific sidebar title by adding a <code>blogSidebarTitle</code> setting to your <code>siteConfig.js</code>.</p>
<p>The option is an object which can have the keys <code>default</code> and <code>all</code>. Specifying a value for <code>default</code> allows you to change the default sidebar title. Specifying a value for <code>all</code> allows you to change the sidebar title when the <code>blogSidebarCount</code> option is set to <code>'ALL'</code>.</p>
<p>Docusaurus provides a simple RSS feed for your blog posts. Both RSS and Atom feed formats are supported. This data is automatically to your website page's HTML</p>
<p><head>
tag.</p></p>
<p>
A summary of the post's text is provided in the RSS feed up to the <code><!--truncate--></code>. If no <code><!--truncate--></code> tag is found, then all text up 250 characters are used.
</p>
<p><h2>
Social Buttons
</h2></p>
<p>
If you want Facebook and/or Twitter social buttons at the bottom of your blog posts, set the <code>facebookAppId</code> and/or <code>twitter</code><ahref="api-site-config.md">site configuration</a> options in <code>siteConfig.js</code>.
</p>
<p><h2>
Advanced Topics
</h2></p>
<p><h3>
I want to run in "Blog Only" mode.
</h3></p>
<p>
You can run your Docusaurus site without a landing page and instead have your blog load first.
</p>
<p>
To do this:
</p>
<olstart="1">
<li>
Create a file <code>index.html</code> in <code>website/static/</code>.
</li>
<pre><codeclass="hljs"><li>
Place the contents of the template below into <code>website/static/index.html</code>
</li>
<li>
Customize the <code>&lt;title&gt;</code> of <code>website/static/index.html</code>
</li>
<li>
Delete the dynamic landing page <code>website/pages/en/index.js</code>
</li>
</code></pre>
</ol>
<blockquote>
<p>
Now, when Docusaurus generates or builds your site, it will copy the file from <code>static/index.html</code> and place it in the site's main directory. The static file is served when a visitor arrives on your page. When the page loads it will redirect the visitor to <code>/blog</code>.
</code></pre></span></div></article></div><divclass="docs-prevnext"><aclass="docs-prev button"href="/docs/ro/docker"><spanclass="arrow-prev">← </span><span>Docker</span></a><aclass="docs-next button"href="/docs/ro/custom-pages"><span>Custom Pages</span><spanclass="arrow-next"> →</span></a></div></div></div><navclass="onPageNav"><ulclass="toc-headings"><li><ahref="#setup-inițial">Setup inițial</a></li><li><ahref="#adăugarea-de-post-uri">Adăugarea de Post-uri</a></li><li><ahref="#opțiuni-header">Opțiuni Header</a></li><li><ahref="#sumarul-pe-scurt">Sumarul pe scurt</a></li><li><ahref="#changing-how-many-blog-posts-show-on-sidebar">Changing How Many Blog Posts Show on Sidebar</a></li><li><ahref="#changing-the-sidebar-title">Changing The Sidebar Title</a></li><li><ahref="#rss-feed">RSS Feed</a></li></ul></nav></div><footerclass="nav-footer"id="footer"><sectionclass="sitemap"><ahref="/"class="nav-home"><imgsrc="/img/docusaurus_monochrome.svg"alt="Docusaurus"width="66"height="58"/></a><divclass="footerSection"><h5>Docs</h5><ahref="