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 {
|
pub enum BlockTypes {
|
||||||
HR,
|
HR,
|
||||||
|
|
|
@ -80,7 +80,3 @@ async fn main() {
|
||||||
struct AppState {
|
struct AppState {
|
||||||
db_conn: DatabaseConnection,
|
db_conn: DatabaseConnection,
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn not_implemented() -> &'static str {
|
|
||||||
"Not Implemented"
|
|
||||||
}
|
|
|
@ -4,6 +4,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<title>{{ settings.site_name }} - {% block title %}{{ title }}{% endblock %}</title>
|
<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">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
{% match settings.site_additional_head %}
|
{% match settings.site_additional_head %}
|
||||||
{% when Some with (site_additional_head) %}
|
{% when Some with (site_additional_head) %}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
{% when Some with (description_content) %}
|
{% when Some with (description_content) %}
|
||||||
{{ description_content }}
|
{{ description_content }}
|
||||||
{% when None %}
|
{% when None %}
|
||||||
A page on eviee.gay
|
A page on {{ settings.site_name }}
|
||||||
{% endmatch %}
|
{% endmatch %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
{% when Some with (summary_content) %}
|
{% when Some with (summary_content) %}
|
||||||
{{ summary_content }}
|
{{ summary_content }}
|
||||||
{% when None %}
|
{% when None %}
|
||||||
A post on eviee.gay
|
A post on {{ settings.site_name }}
|
||||||
{% endmatch %}
|
{% endmatch %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
Reference in a new issue