Implement desc meta tag
This commit is contained in:
parent
b1c8bb797b
commit
2359581c22
5 changed files with 4 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
use serde::{Serialize, Deserialize};
|
||||
use serde::Deserialize;
|
||||
|
||||
pub enum BlockTypes {
|
||||
HR,
|
||||
|
|
|
@ -79,8 +79,4 @@ async fn main() {
|
|||
#[derive(Clone)]
|
||||
struct AppState {
|
||||
db_conn: DatabaseConnection,
|
||||
}
|
||||
|
||||
async fn not_implemented() -> &'static str {
|
||||
"Not Implemented"
|
||||
}
|
|
@ -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) %}
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
Reference in a new issue