mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-21 07:46:30 -05:00
Adjusted end-post buttons
This commit is contained in:
parent
a657c1ab4f
commit
0277672917
3 changed files with 13 additions and 8 deletions
|
@ -23,10 +23,12 @@
|
|||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
{{ partial "sharepost.html" . }}
|
||||
<a href='mailto:{{ .Site.Params.email }}?subject=Re: "{{ .Title }}"' class="reply-button">Reply via Email</a>
|
||||
<a href="/support" class="reply-button" style="margin-left:2rem;"><i class="fas fa-coffee" style="margin-right: 0.5rem;"></i>Buy me a Coffee</a>
|
||||
<div style="margin-bottom: 2rem;">
|
||||
<a href='mailto:{{ .Site.Params.email }}?subject=Re: "{{ .Title }}"' class="reply-button">Reply via Email</a>
|
||||
<a href="/support" class="reply-button" style="margin-left:2rem;"><i class="fas fa-coffee" style="margin-right: 0.5rem;"></i>Buy me a Coffee</a>
|
||||
</div>
|
||||
|
||||
{{ partial "sharepost.html" . }}
|
||||
</main>
|
||||
<!-- Metadata -->
|
||||
<script type="application/ld+json">
|
||||
|
|
|
@ -23,10 +23,13 @@
|
|||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
{{ partial "sharepost.html" . }}
|
||||
<a href='mailto:{{ .Site.Params.email }}?subject=Re: "{{ .Title }}"' class="reply-button">Reply via Email</a>
|
||||
<a href="/support" class="reply-button" style="margin-left:2rem;"><i class="fas fa-coffee" style="margin-right: 0.5rem;"></i>Buy me a Coffee</a>
|
||||
|
||||
<div style="margin-bottom: 2rem;">
|
||||
<a href='mailto:{{ .Site.Params.email }}?subject=Re: "{{ .Title }}"' class="reply-button">Reply via Email</a>
|
||||
<a href="/support" class="reply-button" style="margin-left:2rem;"><i class="fas fa-coffee" style="margin-right: 0.5rem;"></i>Buy me a Coffee</a>
|
||||
</div>
|
||||
|
||||
{{ partial "sharepost.html" . }}
|
||||
{{ partial "webmentions.html" . }}
|
||||
</main>
|
||||
<!-- Metadata -->
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
<div id="webmentions"></div>
|
||||
{{ $siteHost := (urls.Parse .Site.BaseURL).Host -}}
|
||||
<form method="post" action="https://webmention.io/{{ $siteHost }}/webmention">
|
||||
<p>Have you published a response to this? <label for="webmention-source">Let me know the <abbr title="Uniform Resource Locator">URL</abbr></label>:</p>
|
||||
<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 }}">
|
||||
<button type="submit">Ping!</button>
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
</main>
|
||||
{{ $webmentionjs := resources.Get "js/webmention.min.js" }}
|
||||
|
|
Loading…
Reference in a new issue