disable redis for now, add markdown tag for blog display
This commit is contained in:
parent
bb9865cd97
commit
312a29e8ee
4
dev.yml
4
dev.yml
|
@ -41,5 +41,5 @@ services:
|
|||
command: npm install
|
||||
volumes:
|
||||
- ./:/usr/src/app
|
||||
redis:
|
||||
image: redis:latest
|
||||
# redis:
|
||||
# image: redis:latest
|
||||
|
|
|
@ -71,6 +71,6 @@ services:
|
|||
# - TERM=xterm
|
||||
|
||||
|
||||
redis:
|
||||
image: redis:latest
|
||||
# redis:
|
||||
# image: redis:latest
|
||||
|
||||
|
|
6
live.yml
6
live.yml
|
@ -30,14 +30,12 @@ services:
|
|||
- .:/app
|
||||
- sockets:/data/sockets
|
||||
|
||||
|
||||
|
||||
node:
|
||||
image: node:7-onbuild
|
||||
command: npm install
|
||||
volumes:
|
||||
- ./:/usr/src/app
|
||||
|
||||
redis:
|
||||
image: redis:latest
|
||||
# redis:
|
||||
# image: redis:latest
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% load dractags %}
|
||||
{% block title %}Blog Posts{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
@ -8,7 +8,7 @@
|
|||
{% for post in posts %}
|
||||
<a href="{{ post.get_absolute_url }}"><h1>{{ post.title }}</h1></a>
|
||||
<p>Published: {{ post.published_date }}</p>
|
||||
<p>{{ post.description }}</p>
|
||||
<p>{{ post.description|safe_markdown }}</p>
|
||||
{% endfor %}
|
||||
|
||||
{% if posts.num_pages > 1 %}
|
||||
|
|
Loading…
Reference in New Issue