mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 19:03:38 +02:00
RSS/ATOM Feed added, Prism changes, and global Copyright notice. (#94)
* Add Reason support to Prism.js * Add XML/ATOM feed. Generates for both localhost and build script. Adds meta links to feeds to all html files. * Updated /core/Footer.js to pull from siteConfig
This commit is contained in:
parent
92ce92ee59
commit
dc835770a0
15 changed files with 285 additions and 39 deletions
|
@ -11,7 +11,6 @@ const React = require("react");
|
|||
|
||||
class Footer extends React.Component {
|
||||
render() {
|
||||
const currentYear = new Date().getFullYear();
|
||||
return (
|
||||
<footer className="nav-footer" id="footer">
|
||||
<section className="sitemap">
|
||||
|
@ -74,7 +73,9 @@ class Footer extends React.Component {
|
|||
/>
|
||||
</a>
|
||||
<section className="copyright">
|
||||
Copyright © {currentYear} Facebook Inc.
|
||||
{this.props.config.copyright && (
|
||||
<span>{this.props.config.copyright}</span>
|
||||
)}
|
||||
</section>
|
||||
</footer>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue