mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-10-09 10:11:14 +00:00
Print CSS Style
This commit is contained in:
parent
31dfeaaa0b
commit
13ecf4a4a3
6 changed files with 39 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
<!-- Reading Time -->
|
||||
{{ $readTime := mul (div (countwords .Content) 220.0) 60 }}
|
||||
{{ if gt $readTime 60 }}
|
||||
<p>
|
||||
<p class="noprint">
|
||||
<i class="fas fa-stopwatch"></i>
|
||||
{{ math.Ceil (div $readTime 60) }} minute
|
||||
reading time
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div style="margin-bottom: 1rem;">Was this useful? Feel free to share:
|
||||
<div class="noprint" style="margin-bottom: 1rem;">Was this useful? Feel free to share:
|
||||
<a href="https://news.ycombinator.com/submitlink?u={{ .Permalink }}&t={{ .Title }}">Hacker News</a>
|
||||
<a href="https://www.reddit.com/%73%75%62%6d%69%74?url={{ .Permalink }}&title={{ .Title }}">Reddit</a>
|
||||
<a href="https://twitter.com/intent/tweet?url={{ .Permalink }}&text={{ .Title }}">Twitter</a>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!-- Webmentions -->
|
||||
<div id="webmentions"></div>
|
||||
<div class="noprint" id="webmentions"></div>
|
||||
{{ $siteHost := (urls.Parse .Site.BaseURL).Host -}}
|
||||
<form method="post" action="https://webmention.io/{{ $siteHost }}/webmention">
|
||||
<form class="noprint" method="post" action="https://webmention.io/{{ $siteHost }}/webmention">
|
||||
<p style="display: inline-block;">Published a response to this? <label for="webmention-source">Let me know the URL</label>:</p>
|
||||
<input type="url" name="source" id="webmention-source">
|
||||
<input type="hidden" name="target" value="{{ .Permalink }}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue