frjo / hugo-theme-zen

A fast and clean Hugo base theme with css-grid and Hugo pipes support.
https://zen-demo.xdeb.org/
GNU General Public License v2.0
276 stars 80 forks source link

Value4value support #109

Closed metasikander closed 9 months ago

metasikander commented 9 months ago

Hello. Hope everything is well and you have a great holliday. I was wondering if it would be a lot of work to add support for Value for Value with your theme? here's the xml tags that is needed (provided by podcastindex.org). This assumes no split:

<podcast:value type="lightning" method="keysend" suggested="0.00000005000"> 
    <podcast:valueRecipient name="[ Name of reciever ]" type="node" address="[ lnurl ]" customKey="[ custom key from v4v provider ]" customValue="[custom value from v4v provider] split="100" /> 
</podcast:value>
metasikander commented 9 months ago

if you don't want to add this, could i get a pointer to what i need to do to add it myself?

frjo commented 9 months ago

Override this file and add the above tags:

https://github.com/frjo/hugo-theme-zen/blob/main/layouts/podcast/rss.xml

metasikander commented 9 months ago

great that worked! thank you

my solution for reference: https://github.com/metasikander/antihashed/blob/main/layouts/podcast/rss.xml