forked from cadey/xesite
templates/{blog,talk}post: clarify time zone
Apparently the fact that my blog runs on UTC is surprising to people. Signed-off-by: Xe Iaso <me@christine.website>
This commit is contained in:
parent
08d96305af
commit
e545abeb1a
|
@ -66,7 +66,7 @@
|
||||||
|
|
||||||
@if Utc::today().num_days_from_ce() < post.date.num_days_from_ce() {
|
@if Utc::today().num_days_from_ce() < post.date.num_days_from_ce() {
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
@:mara("hacker", "Mara", Html(format!(r#"Hey, this post is set to go live to the public on {}. Right now you are reading a pre-publication version of this post. Please do not share this on social media. This post will automatically go live for everyone on the intended publication date. If you want access to these posts, please join the <a href="https://patreon.com/cadey">Patreon</a>. It helps me afford the copyeditor that I contract for the technical content I write."#, post.detri())))
|
@:mara("hacker", "Mara", Html(format!(r#"Hey, this post is set to go live to the public on {} UTC. Right now you are reading a pre-publication version of this post. Please do not share this on social media. This post will automatically go live for everyone on the intended publication date. If you want access to these posts, please join the <a href="https://patreon.com/cadey">Patreon</a>. It helps me afford the copyeditor that I contract for the technical content I write."#, post.detri())))
|
||||||
</div>
|
</div>
|
||||||
} else {
|
} else {
|
||||||
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
|
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
|
|
||||||
@if Utc::today().num_days_from_ce() < post.date.num_days_from_ce() {
|
@if Utc::today().num_days_from_ce() < post.date.num_days_from_ce() {
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
@:mara("hacker", "Mara", Html(format!(r#"Hey, this post is set to go live to the public on {}. Right now you are reading a pre-publication version of this post. Please do not share this on social media. This post will automatically go live for everyone on the intended publication date. If you want access to these posts, please join the <a href="https://patreon.com/cadey">Patreon</a>. It helps me afford the copyeditor that I contract for the technical content I write."#, post.detri())))
|
@:mara("hacker", "Mara", Html(format!(r#"Hey, this post is set to go live to the public on {} UTC. Right now you are reading a pre-publication version of this post. Please do not share this on social media. This post will automatically go live for everyone on the intended publication date. If you want access to these posts, please join the <a href="https://patreon.com/cadey">Patreon</a>. It helps me afford the copyeditor that I contract for the technical content I write."#, post.detri())))
|
||||||
</div>
|
</div>
|
||||||
} else {
|
} else {
|
||||||
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
|
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue