Skip to content

Commit

Permalink
Add pretzel
Browse files Browse the repository at this point in the history
  • Loading branch information
muan committed Nov 1, 2024
1 parent 83dff42 commit 24bfac9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@
button:target::after {
content: ' (liked)'
}

body {
scroll-margin-block-start: 2em;
}
</style>

<script defer>
Expand All @@ -93,6 +97,9 @@
<form action="https://api.oh.dddddddddzzzz.org/github.com/dddddddddzzzz/OpenHeart?redirect=https://openheart.fyi#heart" method="POST" enctype="text/plain">
<button name="🫀" id="heart">🫀 Heart this page</button>
</form>
<form action="https://api.oh.dddddddddzzzz.org/github.com/dddddddddzzzz/OpenHeart?redirect=https://openheart.fyi#pretzel" method="POST" enctype="text/plain">
<button name="🥨" id="pretzel">🥨 Pretzel this page</button>
</form>
<a href="https://api.oh.dddddddddzzzz.org/github.com/dddddddddzzzz/OpenHeart">Check OpenHeart count for this page</a>

{{ content}}
Expand Down

0 comments on commit 24bfac9

Please sign in to comment.