This commit is contained in:
parent
85c98fac56
commit
4e367d73a0
@ -18,6 +18,7 @@ pub struct ProjectListTemplate {
|
|||||||
pub async fn render_projects_list() -> Result<ProjectListTemplate, StatusCode> {
|
pub async fn render_projects_list() -> Result<ProjectListTemplate, StatusCode> {
|
||||||
let mut project_list = get_post_list::<ProjectMetadata>("../_projects").await?;
|
let mut project_list = get_post_list::<ProjectMetadata>("../_projects").await?;
|
||||||
|
|
||||||
|
project_list.sort_by_key(|post| post.slug.to_string());
|
||||||
project_list.retain(|project| project.metadata.displayed);
|
project_list.retain(|project| project.metadata.displayed);
|
||||||
project_list.reverse();
|
project_list.reverse();
|
||||||
|
|
||||||
|
@ -728,11 +728,6 @@ video {
|
|||||||
margin-bottom: 1.25rem;
|
margin-bottom: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.my-6 {
|
|
||||||
margin-top: 1.5rem;
|
|
||||||
margin-bottom: 1.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mb-1 {
|
.mb-1 {
|
||||||
margin-bottom: 0.25rem;
|
margin-bottom: 0.25rem;
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
</h3>
|
</h3>
|
||||||
</header>
|
</header>
|
||||||
<section class="text-base leading-5 text-slate-800 md:text-xl text-justify">{{post.body|description_filter|safe}}</section>
|
<section class="text-base leading-5 text-slate-800 md:text-xl text-justify">{{post.body|description_filter|safe}}</section>
|
||||||
<footer class="text-sm md:text-base lg:text-lg mt-3 sm:mt-0">
|
<footer class="text-sm md:text-base lg:text-lg mt-3 sm:mt-0 clear-both sm:clear-none">
|
||||||
<ul class="inline-block">
|
<ul class="inline-block">
|
||||||
{% for tag in post.metadata.tags %}
|
{% for tag in post.metadata.tags %}
|
||||||
<li class="inline-block">
|
<li class="inline-block">
|
||||||
|
@ -27,16 +27,24 @@
|
|||||||
>CC BY-NC-ND 4.0<img
|
>CC BY-NC-ND 4.0<img
|
||||||
src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1"
|
src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1"
|
||||||
alt="cc"
|
alt="cc"
|
||||||
class="inline-block h-6 mx-0.5" /><img
|
class="inline-block h-6 mx-0.5"
|
||||||
|
height="24"
|
||||||
|
width="24" /><img
|
||||||
src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1"
|
src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1"
|
||||||
alt="by"
|
alt="by"
|
||||||
class="inline-block h-6 mx-0.5" /><img
|
class="inline-block h-6 mx-0.5"
|
||||||
|
height="24"
|
||||||
|
width="24" /><img
|
||||||
src="https://mirrors.creativecommons.org/presskit/icons/nc.svg?ref=chooser-v1"
|
src="https://mirrors.creativecommons.org/presskit/icons/nc.svg?ref=chooser-v1"
|
||||||
alt="nc"
|
alt="nc"
|
||||||
class="inline-block h-6 mx-0.5" /><img
|
class="inline-block h-6 mx-0.5"
|
||||||
|
height="24"
|
||||||
|
width="24" /><img
|
||||||
src="https://mirrors.creativecommons.org/presskit/icons/nd.svg?ref=chooser-v1"
|
src="https://mirrors.creativecommons.org/presskit/icons/nd.svg?ref=chooser-v1"
|
||||||
alt="nd"
|
alt="nd"
|
||||||
class="inline-block h-6 mx-0.5"
|
class="inline-block h-6 mx-0.5"
|
||||||
|
height="24"
|
||||||
|
width="24"
|
||||||
/></a>
|
/></a>
|
||||||
<!-- TODO Display link to feed with icon -->
|
<!-- TODO Display link to feed with icon -->
|
||||||
<a href="/feed.xml" class="hidden">RSS feed</a>
|
<a href="/feed.xml" class="hidden">RSS feed</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user