Browse Source

Extract footer into a template

main
discomrade 2 years ago
committed by -
parent
commit
396f184ea8
  1. 7
      templates/footer.html
  2. 8
      templates/generic_page.html
  3. 9
      templates/index.html
  4. 7
      templates/page.html
  5. 7
      templates/themes/basic/index.html
  6. 7
      templates/themes/catalog/catalog.html
  7. 7
      templates/themes/categories/news.html
  8. 7
      templates/themes/frameset/news.html
  9. 7
      templates/themes/index/index.html
  10. 7
      templates/themes/recent/recent.html
  11. 8
      templates/thread.html

7
templates/footer.html

@ -0,0 +1,7 @@
<footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://github.com/vichan-devel/vichan/">vichan</a> +
<a href="https://git.leftypol.org/leftypol/">leftypol</a> {{ config.version }} -</p>
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
</footer>

8
templates/generic_page.html

@ -37,13 +37,7 @@
[<a {% if page.selected %}class="selected"{% endif %}{% if not page.selected %}href="{{ page.link }}"{% endif %}>{{ page.num }}</a>]{% if loop.last %} {% endif %}
{% endfor %} {{ btn.next }}</div>
{{ boardlist.bottom }}
<footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
</footer>
{% include 'footer.html' %}
<script type="text/javascript">{% verbatim %}
ready();
{% endverbatim %}</script>

9
templates/index.html

@ -128,14 +128,7 @@
{{ config.ad.bottom }}
<footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
</footer>
{% include 'footer.html' %}
<script type="text/javascript">{% verbatim %}
ready();
{% endverbatim %}</script>

7
templates/page.html

@ -23,11 +23,6 @@
</header>
{{ body }}
<hr>
<footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
</footer>
{% include 'footer.html' %}
</body>
</html>

7
templates/themes/basic/index.html

@ -37,12 +37,7 @@
</div>
<hr/>
<footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
</footer>
{% include 'footer.html' %}
</body>
</html>
{% endfilter %}

7
templates/themes/catalog/catalog.html

@ -115,12 +115,7 @@
</div>
<hr/>
<footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
</footer>
{% include 'footer.html' %}
<script type="text/javascript">{% verbatim %}
var styles = {
{% endverbatim %}

7
templates/themes/categories/news.html

@ -31,12 +31,7 @@
{% endif %}
</div>
<footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
</footer>
{% include 'footer.html' %}
</body>
</html>
{% endfilter %}

7
templates/themes/frameset/news.html

@ -30,12 +30,7 @@
{% endif %}
</div>
<footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
</footer>
{% include 'footer.html' %}
</body>
</html>
{% endfilter %}

7
templates/themes/index/index.html

@ -98,12 +98,7 @@
</div>
<hr/>
<footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel
</footer>
{% include 'footer.html' %}
</body>
</html>
{% endfilter %}

7
templates/themes/recent/recent.html

@ -55,12 +55,7 @@
</div>
<hr/>
<footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
</footer>
{% include 'footer.html' %}
</body>
</html>
{% endfilter %}

8
templates/thread.html

@ -96,13 +96,7 @@
{{ config.ad.bottom }}
<footer>
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
<br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2018 vichan-devel</p>
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
</footer>
{% include 'footer.html' %}
<script type="text/javascript">{% verbatim %}
ready();
{% endverbatim %}</script>

Loading…
Cancel
Save