feat: render keywords for each article
This commit is contained in:
parent
6df1e3743e
commit
3ef5fe038b
@ -1,6 +1,7 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block title %}{{ article.article.title }}{% endblock title %}
|
{% block title %}{{ article.article.title }}{% endblock title %}
|
||||||
|
{% block keywords %}{{ article.article.keywords| join(sep=", ") }}{% endblock keywords %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
||||||
<section class="full-page">
|
<section class="full-page">
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<meta name="keywords" content="{% block keywords %}{% endblock keywords %}" />
|
||||||
<link rel="stylesheet" href="/statics/style.css">
|
<link rel="stylesheet" href="/statics/style.css">
|
||||||
<title>{% block title %}Rubble{% endblock title %}</title>
|
<title>{% block title %}Rubble{% endblock title %}</title>
|
||||||
</head>
|
</head>
|
||||||
|
Loading…
Reference in New Issue
Block a user