diff --git a/application/templates/source/content/name.html.twig b/application/templates/source/content/name.html.twig new file mode 100644 index 0000000..11a44c6 --- /dev/null +++ b/application/templates/source/content/name.html.twig @@ -0,0 +1 @@ +{{ source.name }} \ No newline at end of file diff --git a/application/templates/source/content/user.html.twig b/application/templates/source/content/user.html.twig new file mode 100644 index 0000000..4dcc15d --- /dev/null +++ b/application/templates/source/content/user.html.twig @@ -0,0 +1 @@ +{% include "source/content/name." ~ app.request.requestFormat ~ ".twig" with {'source':source.userSource}%} \ No newline at end of file diff --git a/application/templates/source/name.html.twig b/application/templates/source/name.html.twig index b80d06f..775f636 100644 --- a/application/templates/source/name.html.twig +++ b/application/templates/source/name.html.twig @@ -1,4 +1,5 @@ -{% extends "frames/default.html.twig" %} +{% extends "source/source.html.twig" %} {% block content %} -{{ source.name }} +