Small updates. Add link to RSS under the header image
Added text to different feeds on Podcast Sidebar
This commit is contained in:
parent
b6b10dff7b
commit
fa0f52b901
3 changed files with 7 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
|||
// components/Header.js
|
||||
import Link from "next/link"
|
||||
|
||||
const headerStyle = {
|
||||
backgroundColor: "blue",
|
||||
|
|
@ -14,6 +15,9 @@ const headerStyle = {
|
|||
<img className="header_image img-fluid" src="/images/logo.png" alt="Angry Beanie" />
|
||||
</a>
|
||||
</div>
|
||||
<div className="col-md-12">
|
||||
Follow on <Link href="/feed/Angry-Beanie-feed.xml">RSS</Link>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -13,9 +13,11 @@ const ShowSideBar = (props) => {
|
|||
<div dangerouslySetInnerHTML={{ __html: props.props.data[0].attributes.Description }}></div>
|
||||
<h2>Feeds</h2>
|
||||
<div><a href={props.props.data[0].attributes.iTunesLink}>
|
||||
Apple Podcast Feed <br />
|
||||
<img src="/images/iTunes.png" alt="Get it on iTunes"></img>
|
||||
</a></div>
|
||||
<div><a href={props.props.data[0].attributes.rssLink+".xml"}>
|
||||
RSS Feed <br></br>
|
||||
<img src="/images/rss.png" alt="RSS Feed"></img>
|
||||
</a></div>
|
||||
</div>);
|
||||
|
|
|
|||
|
|
@ -3,8 +3,7 @@ import FeatureImage from "../components/featureimage"
|
|||
import PublishedInfo from '../components/publishedinfo.js'
|
||||
import getConfig from 'next/config'
|
||||
import Head from 'next/head'
|
||||
import config from '../data/internal/config';
|
||||
import { FEEDS, getFeed } from "../lib/rss"
|
||||
import config from '../data/internal/config'
|
||||
import { generatePodcastFeeds, generateRssFeed } from "../data/internal/feed-generator"
|
||||
import { generateSitemap } from "../data/internal/sitemap-generator"
|
||||
import { getLatestContent, getLatestPodcastEpisode } from "../data/external/cms"
|
||||
|
|
|
|||
Loading…
Reference in a new issue