1
0
mirror of https://github.com/balkian/balkian.github.com.git synced 2024-12-26 02:08:13 +00:00

Oops, URLS and markdown conversion

This commit is contained in:
J. Fernando Sánchez 2015-01-22 23:53:41 +01:00
parent 04c716e212
commit 38d09c1973
2 changed files with 5 additions and 2 deletions

View File

@ -74,7 +74,7 @@
<div class="entries"> <div class="entries">
<h1 class="title">Latest entries</h1> <h1 class="title">Latest entries</h1>
<dl> <dl>
{% for p in articles %} {% for p in articles[:5] %}
<dt><a href="{{ SITE_URL }}/{{ p.url }}">{{ p.title }}</a></dt> <dt><a href="{{ SITE_URL }}/{{ p.url }}">{{ p.title }}</a></dt>
{% for c in p.tags %} {% for c in p.tags %}
<a class="tag" href="/tag/{{ c }}.html"><dd class="label label-default">{{ c }}</dd></a> <a class="tag" href="/tag/{{ c }}.html"><dd class="label label-default">{{ c }}</dd></a>

View File

@ -22,7 +22,10 @@ Gunicorn
THE SAME**. Otherwise, Gunicorn will fail miserably. THE SAME**. Otherwise, Gunicorn will fail miserably.
Try it with: Try it with:
``bash venv/bin/gunicorn -w 4 -b 127.0.0.1:8888 --log-file - --access-logfile - wsgi:application``
.. code-block:: bash
venv/bin/gunicorn -w 4 -b 127.0.0.1:8888 --log-file - --access-logfile - wsgi:application
UWSGI UWSGI
----- -----