Skip to content

Commit

Permalink
move id="note" so clicking between pages keeps scroll identical
Browse files Browse the repository at this point in the history
  • Loading branch information
alifeee committed Nov 7, 2024
1 parent 32b8ed2 commit 899c1bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notes/_includes/single.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ tag: 'all'
hide_contents: true
---
<span class="source" style="display:block;width:100%; text-align:center;margin:0 0 1rem 0">viewing a single note</span>
<article id="note">
<h2 id="{{slugify title}}">
<article>
<h2 id="note">
{{title}}
<a href="#{{slugify title}}">#</a>
<a class="source" href="/{{relpath page.inputPath}}">source</a>
Expand Down

0 comments on commit 899c1bf

Please sign in to comment.