adapt new /news style for podcast
continuous-integration/drone/pr Build is passing Details

this also configures a special module wrapper for podcast
This commit is contained in:
Max Mehl 2022-04-06 13:20:12 +02:00
parent 35e8fe2f0d
commit fe1e2cc0ac
Signed by: max.mehl
GPG Key ID: 2704E4AB371E2E92
2 changed files with 31 additions and 15 deletions

View File

@ -68,6 +68,14 @@ body.news-index {
.share-news { display: none; }
}
}
// special rules for the wrapper on /news/podcast
&.podcast {
.share-buttons {
// hide button to /news/podcast as this is the page we're on
.share-podcast { display: none; }
}
}
}
}

View File

@ -1,24 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<html>
<version>3</version>
<version>4</version>
<head>
<title>Software Freedom Podcast</title>
</head>
<body class="article">
<body class="news-index">
<!-- Breadcumb -->
<p id="category"><a href="news.html">News</a></p>
<!-- / Breadcumb -->
<h1>Software Freedom Podcast</h1>
<p class="introduction">In addition to our <a href="news.html">regular news stories</a> and <a href="newsletter.html">monthly newsletter</a>, the FSFE regularly publishes the Software Freedom Podcast.</p>
<div id="introduction">
<p>
In addition to our <a href="news.html">regular news stories</a> and <a
href="newsletter.html">monthly newsletter</a>, the FSFE regularly
publishes the Software Freedom Podcast.
</p>
</div>
<p class="inline-buttons">Subscribe with your podcast player:
<span class="share-buttons">
@ -27,16 +29,22 @@
</span>
</p>
<p>
You can also receive regular updates and deeper insights on our other
channels:
</p>
<div class="module-wrapper podcast">
<module id="follow-news" />
<module id="social-media" />
<module id="banner-subscribe" />
</div>
<include-news/>
</body>
<description>Regular Podcast about Free Software progress and advocacy from the Free Software Foundation Europe</description>
<sidebar promo="none">
<div class="news-sidebar">
<module id="follow-news"/>
<module id="social-media"/>
<hr/>
<module id="video-supporter"/>
</div>
</sidebar>
<banner1><module id="banner-subscribe" /></banner1>
<banner2><module id="banner-become-supporter" /></banner2>
</html>