Use shortbody for ogpdesc like things

This commit is contained in:
HackerNCoder 2022-11-19 18:07:03 +00:00
parent 9f56d1a4dd
commit b28bc232e7
3 changed files with 3 additions and 4 deletions

View file

@ -9,4 +9,4 @@ translate = False
[children]
model = project
order_by = sort_key
order_by = title

View file

@ -1,7 +1,7 @@
{% extends "layout.html" %}
{% block ogpdesc %}{{ _("A list of queer games") }}{% endblock %}
{% block ogptitle %}{{ _("Games list | Queerscriptors") }}{% endblock %}
{% block twitterdesc %}{{ _("A list of queer games") }}% endblock %}
{% block twitterdesc %}{{ _("A list of queer games") }} {% endblock %}
{% block twittertitle %}{{ _("Games list | Queerscriptors") }}{% endblock %}
{% block page %}
{% include 'header.html' %}
@ -16,7 +16,7 @@
<div class="col-md-8" >
<div class="card-body h-100 position-relative" >
<h3 class="card-title" >{{project.title}}</h3>
<p class="card-text" >{{project.shortbody}}</p>
<p class="card-text" >{{project.body}}</p>
<div class="position-absolute bottom-0 end-0 mb-2 me-2">
<a href="{{project|url}}" class="btn btn-primary btn-sm">{{ _("View") }} <i class="fa fa-angle-right" aria-hidden="true"></i></a>
</div>

View file

@ -13,7 +13,6 @@
</div>
<div class="col-md-4">
<h3 class="my-3">{{ _("Game Description") }}</h3>
<p>{{this.shortbody}}</p>
{{this.body}}
<div class="w-100 text-center mb-5">
<div class="mx-auto">