+++ /dev/null
-{% extends '@RapsysBlog/_base.html.twig' %}
-{% block content %}
- <section id="content">
- <header>
- <h1><a href="{{ path('rapsys_blog_article') }}">{{ title }}</a></h1>
- <p>{{ description }}</p>
- </header>
- <section>
- {% for article in articles %}
- <article>
- <header>
- <h2><a href="{{ path('rapsys_blog_article_view', {'id': article.id, 'slug': article.slug}) }}">{{ article.title }}</a></h2>
- </header>
- <section>
- <p>{{ article.description }}</p>
- {% if article.keywords is defined and article.keywords %}
- <nav>
- {% for keyword in article.keywords %}
- <a href="{{ path('rapsys_blog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{{ keyword.title }}</a>
- {% endfor %}
- </nav>
- {% endif %}
- </section>
- <footer>
- <nav>
- <a href="{{ path('rapsys_blog_article_view', {'id': article.id, 'slug': article.slug}) }}">{% trans %}Read more{% endtrans %}...</a>
- </nav>
- </footer>
- </article>
- {% endfor %}
- </section>
- {% if head.prev is defined or head.next is defined %}
- <footer>
- <nav class="pager">
- {% if head.prev is defined %}
- <a href="{{ head.prev }}" rel="prev">< {% trans %}Previous articles{% endtrans %}</a>
- {% endif %}
- {% if head.next is defined %}
- <a href="{{ head.next }}" rel="next">{% trans %}Next articles{% endtrans %} ></a>
- {% endif %}
- </nav>
- </footer>
- {% endif %}
- </section>
-{% endblock %}
+++ /dev/null
-{% extends '@RapsysBlog/_base.html.twig' %}
-{% block content %}
- <section id="content">
- <header>
- <h1 id="title"><a href="{{ head.canonical }}">{{ title }}</a></h1>
- <p>{{ description }}</p>
- </header>
- <section>
- {% for article in articles %}
- <article>
- <header>
- <h2><a href="{{ path('rapsys_blog_article_view', {'id': article.id, 'slug': article.slug}) }}">{{ article.title }}</a></h2>
- </header>
- <section>
- <p>{{ article.description }}</p>
- {% if article.keywords is defined and article.keywords %}
- <nav>
- {% for keyword in article.keywords %}
- <a href="{{ path('rapsys_blog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{{ keyword.title }}</a>
- {% endfor %}
- </nav>
- {% endif %}
- </section>
- <footer>
- <nav>
- <a href="{{ path('rapsys_blog_article_view', {'id': article.id, 'slug': article.slug}) }}">{% trans %}Read more{% endtrans %}...</a>
- </nav>
- </footer>
- </article>
- {% endfor %}
- </section>
- {% if head.prev is defined or head.next is defined %}
- <footer>
- <nav class="pager">
- {% if head.prev is defined %}
- <a href="{{ head.prev }}" rel="prev">< {% trans %}Previous articles{% endtrans %}</a>
- {% endif %}
- {% if head.next is defined %}
- <a href="{{ head.next }}" rel="next">{% trans %}Next articles{% endtrans %} ></a>
- {% endif %}
- </nav>
- </footer>
- {% endif %}
- </section>
-{% endblock %}
+++ /dev/null
-{% extends '@RapsysBlog/_base.html.twig' %}
-{% block content %}
- <section id="content">
- <header>
- <h1><a href="{{ path('rapsys_blog_keyword') }}">{{ title }}</a></h1>
- <p>{{ description }}</p>
- </header>
- <section>
- {% for keyword in keywords %}
- <article>
- <header>
- <h2><a href="{{ path('rapsys_blog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{{ keyword.title }}</a></h2>
- </header>
- <section>
- <p>{{ keyword.description }}</p>
- {#{% if article.keywords is defined and article.keywords %}
- <nav>
- {% for keyword in article.keywords %}
- <a href="{{ path('rapsys_blog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{{ keyword.title }}</a>
- {% endfor %}
- </nav>
- {% endif %}#}
- </section>
- <footer>
- <nav>
- <a href="{{ path('rapsys_blog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{% trans %}Read more{% endtrans %}...</a>
- </nav>
- </footer>
- </article>
- {% endfor %}
- </section>
- {% if head.prev is defined or head.next is defined %}
- <footer>
- <nav class="pager">
- {% if head.prev is defined %}
- <a href="{{ head.prev }}" rel="prev">< {% trans %}Previous keywords{% endtrans %}</a>
- {% endif %}
- {% if head.next is defined %}
- <a href="{{ head.next }}" rel="next">{% trans %}Next keywords{% endtrans %} ></a>
- {% endif %}
- </nav>
- </footer>
- {% endif %}
- </section>
-{% endblock %}
{% block content %}
<article id="content">
<header>
- <h1><a href="{{ head.canonical }}">{{ title }}</a></h1>
+ <h1><a href="{{ canonical }}">{{ title.page }}</a></h1>
<p>{{ description }}</p>
</header>
<section>
--- /dev/null
+{% extends '@RapsysBlog/_base.html.twig' %}
+{% block content %}
+ <section id="content">
+ <header>
+ <h1><a href="{{ path('rapsysblog_article') }}">{{ title.page }}</a></h1>
+ <p>{{ description }}</p>
+ </header>
+ <section>
+ {% for article in articles %}
+ <article>
+ <header>
+ <h2><a href="{{ path('rapsysblog_article_view', {'id': article.id, 'slug': article.slug}) }}">{{ article.title }}</a></h2>
+ </header>
+ <section>
+ <p>{{ article.description }}</p>
+ {% if article.keywords is defined and article.keywords %}
+ <nav>
+ {% for keyword in article.keywords %}
+ <a href="{{ path('rapsysblog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{{ keyword.title }}</a>
+ {% endfor %}
+ </nav>
+ {% endif %}
+ </section>
+ <footer>
+ <nav>
+ <a href="{{ path('rapsysblog_article_view', {'id': article.id, 'slug': article.slug}) }}">{% trans %}Read more{% endtrans %}...</a>
+ </nav>
+ </footer>
+ </article>
+ {% endfor %}
+ </section>
+ {% if ( prev is defined and prev ) or ( next is defined and next ) %}
+ <footer>
+ <nav class="pager">
+ {% if prev is defined and prev %}
+ <a href="{{ prev }}" rel="prev">< {% trans %}Previous articles{% endtrans %}</a>
+ {% endif %}
+ {% if next is defined and next %}
+ <a href="{{ next }}" rel="next">{% trans %}Next articles{% endtrans %} ></a>
+ {% endif %}
+ </nav>
+ </footer>
+ {% endif %}
+ </section>
+{% endblock %}
{% extends '@RapsysBlog/_base.html.twig' %}
-{% block title %}{% endblock %}
{% block content %}
<article id="content">
<header>
- <h1 id="title"><a href="{{ head.canonical }}">{{ title }}</a></h1>
+ <h1 id="title"><a href="{{ canonical }}">{{ title.page }}</a></h1>
<p>{% trans with {'%date%': article.created|format_datetime('full', 'short')} %}Published the %date%{% endtrans %}{% if article.created != article.updated %}{% trans with {'%date%': article.updated|format_datetime('short', 'short')} %}, edited the %date%{% endtrans %}{% endif %}</p>
</header>
<section>
{% if article.keywords is defined and article.keywords %}
<nav>
{% for keyword in article.keywords %}
- <a href="{{ path('rapsys_blog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{{ keyword.title }}</a>
+ <a href="{{ path('rapsysblog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{{ keyword.title }}</a>
{% endfor %}
</nav>
{% endif %}
{% block content %}
<section class="form">
<header>
- <h1><a href="{{ head.canonical }}">{{ title }}</a></h1>
+ <h1><a href="{{ canonical }}">{{ title.page }}</a></h1>
<p>{{ description }}</p>
</header>
<section>
{% block content %}
<section class="form">
<header>
- <h2><a href="{{ path('rapsys_user_login') }}">{{ title }}</a></h2>
+ <h2><a href="{{ path('rapsysuser_login') }}">{{ title.page }}</a></h2>
</header>
<section>
{{ form_start(login) }}
{% if recover is defined %}
<section class="form">
<header>
- <h2><a href="{{ path('rapsys_user_recover') }}">{% trans %}Recover{% endtrans %}</a></h2>
+ <h2><a href="{{ path('rapsysuser_recover') }}">{% trans %}Recover{% endtrans %}</a></h2>
</header>
<section>
{{ form_start(recover) }}
{% block content %}
<section class="form">
<header>
- <h2><a href="{{ path('rapsys_user_recover') }}">{{ title }}</a></h2>
+ <h2><a href="{{ path('rapsysuser_recover') }}">{{ title }}</a></h2>
</header>
<section>
{% if sent %}
{% block content %}
<section class="form">
<header>
- <h2><a href="{{ path('rapsys_user_register') }}">{{ title }}</a></h2>
+ <h2><a href="{{ path('rapsysuser_register') }}">{{ title }}</a></h2>
</header>
<section>
{% if disabled is defined and disabled %}
--- /dev/null
+{% extends '@RapsysBlog/_base.html.twig' %}
+{% block content %}
+ <section id="content">
+ <header>
+ <h1 id="title"><a href="{{ canonical }}">{{ title.page }}</a></h1>
+ <p>{{ description }}</p>
+ </header>
+ <section>
+ {% for article in articles %}
+ <article>
+ <header>
+ <h2><a href="{{ path('rapsysblog_article_view', {'id': article.id, 'slug': article.slug}) }}">{{ article.title }}</a></h2>
+ </header>
+ <section>
+ <p>{{ article.description }}</p>
+ {% if article.keywords is defined and article.keywords %}
+ <nav>
+ {% for keyword in article.keywords %}
+ <a href="{{ path('rapsysblog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{{ keyword.title }}</a>
+ {% endfor %}
+ </nav>
+ {% endif %}
+ </section>
+ <footer>
+ <nav>
+ <a href="{{ path('rapsysblog_article_view', {'id': article.id, 'slug': article.slug}) }}">{% trans %}Read more{% endtrans %}...</a>
+ </nav>
+ </footer>
+ </article>
+ {% endfor %}
+ </section>
+ {% if ( prev is defined and prev ) or ( next is defined and next ) %}
+ <footer>
+ <nav class="pager">
+ {% if prev is defined and prev %}
+ <a href="{{ prev }}" rel="prev">< {% trans %}Previous articles{% endtrans %}</a>
+ {% endif %}
+ {% if next is defined and next %}
+ <a href="{{ next }}" rel="next">{% trans %}Next articles{% endtrans %} ></a>
+ {% endif %}
+ </nav>
+ </footer>
+ {% endif %}
+ </section>
+{% endblock %}
--- /dev/null
+{% extends '@RapsysBlog/_base.html.twig' %}
+{% block content %}
+ <section id="content">
+ <header>
+ <h1><a href="{{ path('rapsysblog_keyword') }}">{{ title.page }}</a></h1>
+ <p>{{ description }}</p>
+ </header>
+ <section>
+ {% for keyword in keywords %}
+ <article>
+ <header>
+ <h2><a href="{{ path('rapsysblog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{{ keyword.title }}</a></h2>
+ </header>
+ <section>
+ <p>{{ keyword.description }}</p>
+ {#{% if article.keywords is defined and article.keywords %}
+ <nav>
+ {% for keyword in article.keywords %}
+ <a href="{{ path('rapsysblog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{{ keyword.title }}</a>
+ {% endfor %}
+ </nav>
+ {% endif %}#}
+ </section>
+ <footer>
+ <nav>
+ <a href="{{ path('rapsysblog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{% trans %}Read more{% endtrans %}...</a>
+ </nav>
+ </footer>
+ </article>
+ {% endfor %}
+ </section>
+ {% if ( prev is defined and prev ) or ( next is defined and next ) %}
+ <footer>
+ <nav class="pager">
+ {% if prev is defined and prev %}
+ <a href="{{ prev }}" rel="prev">< {% trans %}Previous keywords{% endtrans %}</a>
+ {% endif %}
+ {% if next is defined and next %}
+ <a href="{{ next }}" rel="next">{% trans %}Next keywords{% endtrans %} ></a>
+ {% endif %}
+ </nav>
+ </footer>
+ {% endif %}
+ </section>
+{% endblock %}
{% extends '@RapsysBlog/_base.html.twig' %}
-{% block title %}{% endblock %}
{% block content %}
<article id="content">
<header>
- <h1 id="title"><a href="{{ head.canonical }}">{{ title }}</a></h1>
+ <h1 id="title"><a href="{{ canonical }}">{{ title.page }}</a></h1>
<p>{% trans with {'%date%': keyword.created|format_datetime('full', 'short')} %}Published the %date%{% endtrans %}{% if keyword.created != keyword.updated %}{% trans with {'%date%': keyword.updated|format_datetime('short', 'short')} %}, edited the %date%{% endtrans %}{% endif %}</p>
<p>{{ keyword.description }}</p>
</header>
{% for article in keyword.articles %}
<article>
<header>
- <h2><a href="{{ path('rapsys_blog_article_view', {'id': article.id, 'slug': article.slug}) }}">{{ article.title }}</a></h2>
+ <h2><a href="{{ path('rapsysblog_article_view', {'id': article.id, 'slug': article.slug}) }}">{{ article.title }}</a></h2>
</header>
<section>
<p>{{ article.description }}</p>
{% if article.keywords is defined and article.keywords %}
<nav>
{% for keyword in article.keywords %}
- <a href="{{ path('rapsys_blog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{{ keyword.title }}</a>
+ <a href="{{ path('rapsysblog_keyword_view', {'id': keyword.id, 'slug': keyword.slug}) }}">{{ keyword.title }}</a>
{% endfor %}
</nav>
{% endif %}
</section>
<footer>
<nav>
- <a href="{{ path('rapsys_blog_article_view', {'id': article.id, 'slug': article.slug}) }}">{% trans %}Read more{% endtrans %}...</a>
+ <a href="{{ path('rapsysblog_article_view', {'id': article.id, 'slug': article.slug}) }}">{% trans %}Read more{% endtrans %}...</a>
</nav>
</footer>
</article>
{% block content %}
<section id="content">
<header>
- <h1><a href="{{ path('rapsys_blog_user') }}">{{ title }}</a></h1>
+ <h1><a href="{{ path('rapsysblog_user') }}">{{ title.page }}</a></h1>
</header>
<section>
{% for user in users %}
</article>
{% endfor %}
</section>
- {% if head.prev is defined or head.next is defined %}
+ {% if ( prev is defined and prev ) or ( next is defined and next ) %}
<footer>
<nav class="pager">
- {% if head.prev is defined %}
- <a href="{{ head.prev }}" rel="prev">< {% trans %}Previous users{% endtrans %}</a>
+ {% if prev is defined and prev %}
+ <a href="{{ prev }}" rel="prev">< {% trans %}Previous users{% endtrans %}</a>
{% endif %}
- {% if head.next is defined %}
- <a href="{{ head.next }}" rel="next">{% trans %}Next users{% endtrans %} ></a>
+ {% if next is defined and next %}
+ <a href="{{ next }}" rel="next">{% trans %}Next users{% endtrans %} ></a>
{% endif %}
</nav>
</footer>