mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 23:57:22 +02:00
Blog enhancements (#80)
* Small CSS adjustments. * Blog adjustments. * Add support for Prism in the blog
This commit is contained in:
parent
a484893c4f
commit
45f6ef8fd9
7 changed files with 80 additions and 2 deletions
|
@ -18,7 +18,7 @@ class BlogSidebar extends React.Component {
|
|||
const contents = [
|
||||
{
|
||||
name: "Recent Posts",
|
||||
links: MetadataBlog
|
||||
links: MetadataBlog.slice(0, 5)
|
||||
}
|
||||
];
|
||||
const title = this.props.current && this.props.current.title;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue