Browse Source

remove demo templates

main
ghost 1 year ago
parent
commit
b863d145a0
  1. 16
      templates/base.html.twig
  2. 20
      templates/redirect/index.html.twig

16
templates/base.html.twig

@ -1,16 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{% block title %}Welcome!{% endblock %}</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫</text></svg>">
{% block stylesheets %}
{% endblock %}
{% block javascripts %}
{% endblock %}
</head>
<body>
{% block body %}{% endblock %}
</body>
</html>

20
templates/redirect/index.html.twig

@ -1,20 +0,0 @@
{% extends 'base.html.twig' %}
{% block title %}Hello RedirectController!{% endblock %}
{% block body %}
<style>
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; }
</style>
<div class="example-wrapper">
<h1>Hello {{ controller_name }}! ✅</h1>
This friendly message is coming from:
<ul>
<li>Your controller at <code><a href="{{ '/home/ibox/Sites/yggverse/YGGtracker/src/Controller/RedirectController.php'|file_link(0) }}">src/Controller/RedirectController.php</a></code></li>
<li>Your template at <code><a href="{{ '/home/ibox/Sites/yggverse/YGGtracker/templates/redirect/index.html.twig'|file_link(0) }}">templates/redirect/index.html.twig</a></code></li>
</ul>
</div>
{% endblock %}
Loading…
Cancel
Save