Implement desc meta tag

This commit is contained in:
Evie Viau-Chow-Stuart 2023-02-05 04:13:50 -08:00
parent b1c8bb797b
commit 2359581c22
Signed by: evie
GPG key ID: 928652CDFCEC8099
5 changed files with 4 additions and 7 deletions

View file

@ -1,4 +1,4 @@
use serde::{Serialize, Deserialize};
use serde::Deserialize;
pub enum BlockTypes {
HR,

View file

@ -79,8 +79,4 @@ async fn main() {
#[derive(Clone)]
struct AppState {
db_conn: DatabaseConnection,
}
async fn not_implemented() -> &'static str {
"Not Implemented"
}

View file

@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ settings.site_name }} - {% block title %}{{ title }}{% endblock %}</title>
<meta name="description" content="{% block description %} {% endblock %}" />
<meta name="viewport" content="width=device-width, initial-scale=1">
{% match settings.site_additional_head %}
{% when Some with (site_additional_head) %}

View file

@ -7,7 +7,7 @@
{% when Some with (description_content) %}
{{ description_content }}
{% when None %}
A page on eviee.gay
A page on {{ settings.site_name }}
{% endmatch %}
{% endblock %}

View file

@ -7,7 +7,7 @@
{% when Some with (summary_content) %}
{{ summary_content }}
{% when None %}
A post on eviee.gay
A post on {{ settings.site_name }}
{% endmatch %}
{% endblock %}