forked from cadey/xesite
add ethicalads
Signed-off-by: Xe Iaso <me@christine.website>
This commit is contained in:
parent
e057c81325
commit
b312b9931d
|
@ -68,10 +68,14 @@
|
||||||
<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 {}. 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 {
|
||||||
|
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
|
||||||
}
|
}
|
||||||
|
|
||||||
<small>A @post.read_time_estimate_minutes minute read.</small>
|
<small>A @post.read_time_estimate_minutes minute read.</small>
|
||||||
|
|
||||||
|
<div data-ea-publisher="christinewebsite" data-ea-type="text"></div>
|
||||||
|
|
||||||
@body
|
@body
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
|
@ -47,6 +47,16 @@
|
||||||
@}
|
@}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@if Utc::today().num_days_from_ce() < post.date.num_days_from_ce() {
|
||||||
|
<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())))
|
||||||
|
</div>
|
||||||
|
} else {
|
||||||
|
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
|
||||||
|
}
|
||||||
|
|
||||||
|
<div data-ea-publisher="christinewebsite" data-ea-type="text"></div>
|
||||||
|
|
||||||
@body
|
@body
|
||||||
|
|
||||||
<a href="@post.front_matter.slides_link.as_ref().unwrap()">Link to the slides</a>
|
<a href="@post.front_matter.slides_link.as_ref().unwrap()">Link to the slides</a>
|
||||||
|
|
Loading…
Reference in New Issue