newsletter migration updates

This commit is contained in:
Salar Rahmanian 2021-03-21 09:47:04 -07:00
parent f557e4117c
commit cab9db21d8
5 changed files with 5 additions and 11 deletions

View file

@ -10,7 +10,7 @@
<div>
Subscribe to my newsletter
</div>
<a href="https://softinio.substack.com/p/welcome" class="button mt-1" role="button">subscribe</a>
<a href="http://newsletter.softinio.com" class="button mt-1" role="button">subscribe</a>
{{- $posts := where (where .Site.RegularPages "Permalink" "!=" .Permalink) "Type" "in" $s.mainSections }}
{{- $featured := default 8 $s.numberOfFeaturedPosts }}
{{- with first $featured (where $posts "Params.featured" true)}}

View file

@ -1,3 +0,0 @@
<div>
<iframe src="https://softinio.substack.com/embed" width="360" height="320" style="border:1px solid #EEE; background:white;" frameborder="0" scrolling="no"></iframe>
</div>