Add anchor id to shareon
This commit is contained in:
parent
f790fb08b9
commit
10e8950aef
2 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
.shareon-container {
|
.shareon-container {
|
||||||
|
scroll-margin-top: var(--hero-height); // hero height (ish)
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
|
|
||||||
.shareon {
|
.shareon {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{% load util_tags %}
|
{% load util_tags %}
|
||||||
|
|
||||||
<section class="container has-text-centered shareon-container">
|
<section class="container has-text-centered shareon-container" id="shareon">
|
||||||
<p>Share this page</p>
|
<p>Share this page</p>
|
||||||
<div class="shareon" data-title="{{ page.title }}" data-url="{% pagefullurl page %}">
|
<div class="shareon" data-title="{{ page.title }}" data-url="{% pagefullurl page %}">
|
||||||
<a class="facebook" title="Share on Facebook"></a>
|
<a class="facebook" title="Share on Facebook"></a>
|
||||||
|
|
Loading…
Reference in a new issue