0xBEEFCAF3 / bostonbitdevs

Website for Boston Bitcoin Dev Meetup
https://bostonbitdevs.org/
Creative Commons Zero v1.0 Universal
7 stars 3 forks source link

Add title to config to fix RSS feed #8

Closed edwargix closed 1 year ago

edwargix commented 1 year ago

Currently the RSS feed is slightly broken because the <title> is empty. Adding the title param to config.toml fixes this: https://github.com/0xBEEFCAF3/bostonbitdevs/blob/c05b79aaae60/templates/feed.xml#L3

before:

$ curl -s https://bostonbitdevs.org/feed.xml | head
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title></title>
    <link href="https://www.bostonbitdevs.org/feed.xml" rel="self" type="application/atom+xml"/>
  <link href="https://www.bostonbitdevs.org"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2022-10-26T00:00:00+00:00</updated>
    <id>https://www.bostonbitdevs.org/feed.xml</id>
    <entry xml:lang="en">
        <title>Socratic Seminar 10</title>

after:

$ curl -s http://127.0.0.1:1111/feed.xml | head
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>Boston BitDevs</title>
    <link href="http://127.0.0.1:1111/feed.xml" rel="self" type="application/atom+xml"/>
  <link href="http://127.0.0.1:1111"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2022-10-26T00:00:00+00:00</updated>
    <id>http://127.0.0.1:1111/feed.xml</id>
    <entry xml:lang="en">
        <title>Socratic Seminar 10</title>
0xBEEFCAF3 commented 1 year ago

Thanks for catching this