Skip to content

Commit 6b3e6f1

Browse files
authored
Merge pull request #118 from pyladies/add-news-footer-template
Minor update to the News template
2 parents 080fe0b + a991aba commit 6b3e6f1

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

content/news/save_the_date.md

-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,4 @@ Sign up to volunteer with us! Read more on our [Volunteer](/volunteer) page.
2323

2424
Call for proposals will open soon!
2525

26-
In the meantime, you can stay up to date by:
27-
- Following us on various social media channels: [Mastodon](https://fosstodon.org/@pyladiescon), [Twitter/X](https://twitter.com/pyladiescon), [Instagram](https://instagram.com/pyladiescon), and [LinkedIn](https://www.linkedin.com/company/pyladiescon)
28-
- Subscribe to our [RSS Feed](https://conference.pyladies.com/index.xml)
2926

themes/pyladies/layouts/news/single.html

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ <h1 class="d-md-flex flex-md-equal my-md-3 ps-md-3 ">
1313
</p>
1414
<div class="my-md-3 ps-md-3">
1515
{{ .Content }}
16+
{{ partial "news-footer.html" }}
1617
</div>
1718
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
1819
{{ end }}

themes/pyladies/layouts/partials/components/blog-card.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h1 class="mb-3 ">
99
</a>
1010
</h1>
1111
<p class="mb-3 desc">
12-
written by {{ .Params.author }}
12+
written by {{ .Params.author }} on {{ .Params.date | time.Format ":date_long" }}
1313
</p>
1414
<p class="mb-6">{{ .Summary }}</p>
1515
<a href="{{ .RelPermalink }}">
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<h2>Stay up to date</h2>
2+
<p>Get news about PyLadiesCon by following us on social media (<a href="https://fosstodon.org/@pyladiescon">Mastodon</a>,
3+
<a href="https://twitter.com/pyladiescon">Twitter/X</a>,
4+
<a href="https://instagram.com/pyladiescon">Instagram</a>,
5+
and <a href="https://www.linkedin.com/company/pyladiescon">LinkedIn</a>)
6+
and subscribing to our <a href="https://conference.pyladies.com/index.xml">RSS Feed</a>.
7+
</p>

0 commit comments

Comments
 (0)