mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-09 10:50:34 -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 }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
{{ partial "sharepost.html" . }}
|
<div style="margin-bottom: 2rem;">
|
||||||
<a href='mailto:{{ .Site.Params.email }}?subject=Re: "{{ .Title }}"' class="reply-button">Reply via Email</a>
|
<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>
|
<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>
|
</main>
|
||||||
<!-- Metadata -->
|
<!-- Metadata -->
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
|
|
|
@ -23,10 +23,13 @@
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</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" . }}
|
{{ partial "webmentions.html" . }}
|
||||||
</main>
|
</main>
|
||||||
<!-- Metadata -->
|
<!-- Metadata -->
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
<div id="webmentions"></div>
|
<div id="webmentions"></div>
|
||||||
{{ $siteHost := (urls.Parse .Site.BaseURL).Host -}}
|
{{ $siteHost := (urls.Parse .Site.BaseURL).Host -}}
|
||||||
<form method="post" action="https://webmention.io/{{ $siteHost }}/webmention">
|
<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="url" name="source" id="webmention-source">
|
||||||
<input type="hidden" name="target" value="{{ .Permalink }}">
|
<input type="hidden" name="target" value="{{ .Permalink }}">
|
||||||
<button type="submit">Ping!</button>
|
<button type="submit">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
</main>
|
</main>
|
||||||
{{ $webmentionjs := resources.Get "js/webmention.min.js" }}
|
{{ $webmentionjs := resources.Get "js/webmention.min.js" }}
|
||||||
|
|
Loading…
Reference in a new issue