tweet button and recent posts remove option

This commit is contained in:
gurusabarish
2021-03-31 18:48:02 +05:30
parent c5578135fe
commit 4aa090c456
3 changed files with 5 additions and 3 deletions
+2
View File
@@ -38,11 +38,13 @@
{{ .Params.author }} {{ .Params.author }}
{{ end }} {{ end }}
{{ if .Site.Params.tweet }}
<div class="pt-3"> <div class="pt-3">
<a href="https://twitter.com/share?ref_src=twsrc%5Etfw" data-size=large class="twitter-share-button" <a href="https://twitter.com/share?ref_src=twsrc%5Etfw" data-size=large class="twitter-share-button"
data-show-count="false">Tweet my work</a> data-show-count="false">Tweet my work</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div> </div>
{{ end }}
</div> </div>
{{ if .Site.Params.showdescription }} {{ if .Site.Params.showdescription }}
+2
View File
@@ -1,6 +1,7 @@
<footer> <footer>
<!-- recent posts --> <!-- recent posts -->
<div class="news container py-3"> <div class="news container py-3">
{{ if .Site.Params.recentposts }}
<div class="h3 text-center text-light font-weight-bold">Recent posts</div> <div class="h3 text-center text-light font-weight-bold">Recent posts</div>
<div class="row justify-content-center"> <div class="row justify-content-center">
{{ range ( where .Site.RegularPages "Type" "blog" | first 3 ) }} {{ range ( where .Site.RegularPages "Type" "blog" | first 3 ) }}
@@ -20,6 +21,7 @@
</div> </div>
{{ end }} {{ end }}
</div> </div>
{{ end }}
</div> </div>
<div class="text-center"> <div class="text-center">
{{ if .Site.Params.github }} {{ if .Site.Params.github }}
+1 -3
View File
@@ -27,15 +27,13 @@
{{ .Site.Params.descripe_l2_person }} {{ .Site.Params.descripe_l2_person }}
{{ end }} {{ end }}
</div> </div>
<div class="social px-3 text-center"> <div class="social px-3 text-center pb-4">
{{ if .Site.Params.useresume }} {{ if .Site.Params.useresume }}
<a href="{{ .Site.Params.resume | default " #" }}" class="btn btn-outline-danger" role="button" <a href="{{ .Site.Params.resume | default " #" }}" class="btn btn-outline-danger" role="button"
aria-pressed="true"> aria-pressed="true">
Resume Resume
</a> </a>
{{ end }} {{ end }}
</div> </div>
</div> </div>
</div> </div>