add daily permalinks
This commit is contained in:
parent
456c502d3f
commit
f32623a905
1 changed files with 3 additions and 1 deletions
|
@ -491,8 +491,10 @@ fn output_html(
|
|||
p class="past"{ s { (date.format("%-d %A")) } }
|
||||
});
|
||||
} else {
|
||||
let date_s = date.format("%-d %A");
|
||||
let id = date.format("%F");
|
||||
html_list.push(maud::html! {
|
||||
h3 { (date.format("%-d %A")) }
|
||||
h3 id=(id) { (date_s) " " a href=(format!("#{id}")) title=(format!("Permalink to {date_s}")) {"🔗"} }
|
||||
hr{}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue