forked from gnyylmz/BlogProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblog_details.html
More file actions
47 lines (43 loc) · 1.8 KB
/
blog_details.html
File metadata and controls
47 lines (43 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{% extends 'blog_templates/base.html' %}
{% load static %}
{% block title %}{{ title }}{% endblock %}
{% block meta_title %}{{ title }}{% endblock %}
{% block description %}{{ description }}{% endblock %}
{% block keywords %}{{ keywords }}{% endblock %}
<!-- SEO -->
{% block og_title %}{{ title }}{% endblock %}
{% block og_description %}{{ description }}{% endblock %}
{% block og_url %}{{request.get_raw_uri}}{% endblock %}
{% block og_image %}{{ web_site_url }}/media/{{ image }}{% endblock %}
{% block og_site_name %}{{ web_site_name }} - {{ web_site_slogan }}{% endblock %}
{% block category %}
<li class="dropdown">
<a href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Kategoriler <span class="caret"></span></a>
<ul class="dropdown-menu">
{% for i in category_db %}
<li><a href="/kategori/{{ i.seo_url }}">{{ i.category_name }}</a></li>
{% endfor %}
</ul>
</li>
{% endblock %}
{% block content %}
<!-- +++++ Projects Section +++++ -->
{% for i in db %}
<div class="container pt ">
<div class="row mt">
<div class="col-lg-12 col-lg-offset-0 centered">
<div class="col-sm-12"><a href="/{{ i.seo_url }}" class=""><img src="/media/{{ i.image }}" class="img-responsive"></a></div>
<h3>{{ i.title }}</h3>
<hr>
{{ i.content | safe }}
</div>
</div>
<div class="row mt centered">
<p><bt>Yazar : <span class="renk">Ali Yaman</span></bt> - <bt>Kategori: <a href="/kategori/{{ i.category_list.seo_url }}">{{ i.category_list.category_name }}</a></bt> - <bt>Tarih: <span class="renk">{{ i.time }}</span></bt></p>
</div><!-- /row -->
</div><!-- /container -->
{% endfor %}
{% endblock %}
{% block last_content %}
{% include 'blog_templates/last_content.html' %}
{% endblock %}