add subscribe button to podcast episode pages
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ee726f3b4d
commit
099c5be7d4
3
look/elements/podcast.less
Normal file
3
look/elements/podcast.less
Normal file
@ -0,0 +1,3 @@
|
||||
.podcast-interact {
|
||||
padding: 5px 0 10px 0;
|
||||
}
|
@ -1,9 +1,11 @@
|
||||
@import "variables";
|
||||
@import "style";
|
||||
@import "elements/figure";
|
||||
@import "elements/podcast";
|
||||
@import "elements/sharebuttons";
|
||||
@import "elements/toc";
|
||||
@import "pages/interview";
|
||||
@import "pages/spreadtheword";
|
||||
|
||||
/* fsfe.org pages */
|
||||
|
||||
@ -864,5 +866,3 @@ video#freeyourandroid {
|
||||
.m-3 {
|
||||
margin: @spacing-3 !important;
|
||||
}
|
||||
|
||||
@import "pages/spreadtheword";
|
||||
|
@ -30,28 +30,53 @@
|
||||
<xsl:text>Your browser dows not support the audio element.</xsl:text>
|
||||
</xsl:element>
|
||||
|
||||
<!-- Download -->
|
||||
<xsl:element name="p">
|
||||
<xsl:element name="em">
|
||||
<xsl:call-template name="gettext">
|
||||
<xsl:with-param name="id" select="'download'" />
|
||||
</xsl:call-template>
|
||||
<!-- Subscribe feed / Download file row -->
|
||||
<xsl:element name="div">
|
||||
<xsl:attribute name="class">podcast-interact clearfix</xsl:attribute>
|
||||
<!-- feed -->
|
||||
<xsl:element name="span">
|
||||
<xsl:attribute name="class">share-buttons-inline pull-left</xsl:attribute>
|
||||
<!-- TODO: language-variable links -->
|
||||
<xsl:element name="a">
|
||||
<xsl:attribute name="href">feed://fsfe.org/news/podcast-opus.en.rss</xsl:attribute>
|
||||
<xsl:element name="button">
|
||||
<xsl:attribute name="class">share-button-sidebar share-podcast</xsl:attribute>
|
||||
<xsl:text>OPUS Feed</xsl:text>
|
||||
</xsl:element>
|
||||
</xsl:element>
|
||||
<xsl:element name="a">
|
||||
<xsl:attribute name="href">feed://fsfe.org/news/podcast.en.rss</xsl:attribute>
|
||||
<xsl:element name="button">
|
||||
<xsl:attribute name="class">share-button-sidebar share-podcast</xsl:attribute>
|
||||
<xsl:text>MP3 Feed</xsl:text>
|
||||
</xsl:element>
|
||||
</xsl:element>
|
||||
</xsl:element>
|
||||
<xsl:text>: </xsl:text>
|
||||
<xsl:element name="a">
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="/buildinfo/document/podcast/opus/url" />
|
||||
</xsl:attribute>
|
||||
OPUS
|
||||
</xsl:element>
|
||||
<xsl:text> | </xsl:text>
|
||||
<xsl:element name="a">
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="/buildinfo/document/podcast/mp3/url" />
|
||||
</xsl:attribute>
|
||||
MP3
|
||||
<!-- download -->
|
||||
<xsl:element name="span">
|
||||
<xsl:attribute name="class">pull-right</xsl:attribute>
|
||||
<xsl:element name="em">
|
||||
<xsl:call-template name="gettext">
|
||||
<xsl:with-param name="id" select="'download'" />
|
||||
</xsl:call-template>
|
||||
</xsl:element>
|
||||
<xsl:text>: </xsl:text>
|
||||
<xsl:element name="a">
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="/buildinfo/document/podcast/opus/url" />
|
||||
</xsl:attribute>
|
||||
OPUS
|
||||
</xsl:element>
|
||||
<xsl:text> | </xsl:text>
|
||||
<xsl:element name="a">
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="/buildinfo/document/podcast/mp3/url" />
|
||||
</xsl:attribute>
|
||||
MP3
|
||||
</xsl:element>
|
||||
</xsl:element>
|
||||
</xsl:element>
|
||||
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
Loading…
x
Reference in New Issue
Block a user