static page

This commit is contained in:
GitHub
2022-07-27 09:42:51 +08:00
parent dc5e36bdac
commit 633aa09c1f
2 changed files with 9 additions and 3 deletions

4
Cargo.lock generated
View File

@@ -1389,9 +1389,9 @@ dependencies = [
[[package]]
name = "redox_syscall"
version = "0.2.15"
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "534cfe58d6a18cc17120fbf4635d53d14691c1fe4d951064df9bd326178d7d5a"
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
dependencies = [
"bitflags",
]

View File

@@ -41,7 +41,13 @@
<div class="level-item has-text-centered">
<div>
<p class="heading">Posts</p>
<p class="title"><a href="/inn/0?filter={{user.uid}}">{{user_posts_count}}</a></p>
<p class="title">
{% if page_data.claim.is_some() %}
<a href="/inn/0?filter={{user.uid}}">{{user_posts_count}}</a>
{% else %}
<a href="/static/inn/user/{{user.uid}}/1/index.html">{{user_posts_count}}</a>
{% endif %}
</p>
</div>
</div>
<div class="level-item has-text-centered">