forked from leftypol/leftypol
templates: bust all css caches with resource_version
This commit is contained in:
parent
abfa773282
commit
ef1634184a
7 changed files with 21 additions and 21 deletions
|
@ -2,7 +2,7 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/style.css">
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/style.css?v={{ config.resource_version }}">
|
||||
<meta charset="utf-8">
|
||||
{% if config.meta_keywords %}<meta name="keywords" content="{{ config.meta_keywords }}">{% endif %}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes">
|
||||
|
@ -40,12 +40,12 @@
|
|||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
<hr/>
|
||||
<footer>
|
||||
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
|
||||
<p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
|
||||
<a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
|
||||
<br>Tinyboard Copyright © 2010-2014 Tinyboard Development Group
|
||||
<br>Tinyboard Copyright © 2010-2014 Tinyboard Development Group
|
||||
<br><a href="https://engine.vichan.net/">vichan</a> Copyright © 2012-2016 vichan-devel</p>
|
||||
</footer>
|
||||
<div class="pages"></div>
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
<h1>{{ settings.title }}</h1>
|
||||
<img src="{{ config.logo }}" alt="logo" class="home-logo">
|
||||
<div class="subtitle">{{ settings.subtitle }}</div>
|
||||
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}">
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/dark_red.css">
|
||||
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}?v={{ config.resource_version }}">
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/dark_red.css?v={{ config.resource_version }}">
|
||||
<p class="home-description" >{{ description }}</p>
|
||||
</header>
|
||||
</div>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/style.css">
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/style.css?v={{ config.resource_version }}">
|
||||
<meta charset="utf-8">
|
||||
<title>{{ settings.title }}</title>
|
||||
{% if config.meta_keywords %}<meta name="keywords" content="{{ config.meta_keywords }}">{% endif %}
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||
<title>{{ settings.title }}</title>
|
||||
<link rel="stylesheet" media="screen" href="{{ config.root}}stylesheets/style.css"/>
|
||||
<link rel="stylesheet" media="screen" href="{{ config.root}}stylesheets/recent.css"/>
|
||||
<link rel="stylesheet" media="screen" href="https://lainchan.org/stylesheets/font-awesome/css/font-awesome.min.css"/>
|
||||
<link rel="stylesheet" media="screen" href="{{ config.root}}stylesheets/style.css?v={{ config.resource_version }}"/>
|
||||
<link rel="stylesheet" media="screen" href="{{ config.root}}stylesheets/recent.css?v={{ config.resource_version }}"/>
|
||||
<link rel="stylesheet" media="screen" href="https://lainchan.org/stylesheets/font-awesome/css/font-awesome.min.css?v={{ config.resource_version }}"/>
|
||||
|
||||
{% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.url_favicon }}" />{% endif %}
|
||||
{% if config.font_awesome %}<link rel="stylesheet" href="{{ config.root }}{{ config.font_awesome_css }}">{% endif %}
|
||||
{% if config.font_awesome %}<link rel="stylesheet" href="{{ config.root }}{{ config.font_awesome_css }}?v={{ config.resource_version }}">{% endif %}
|
||||
{% include 'header.html' %}
|
||||
</head>
|
||||
<body>
|
||||
|
@ -31,10 +31,10 @@
|
|||
|
||||
<br>
|
||||
|
||||
<div class="ban" id="global2"> <h2>CYBERPUNK IS DUCK</h2> Pour out the Soykaf, lurk, and read the <a href="https://lainchan.org/rules">rules</a> before posting! </div>
|
||||
<div class="ban" id="global2"> <h2>CYBERPUNK IS DUCK</h2> Pour out the Soykaf, lurk, and read the <a href="https://lainchan.org/rules">rules</a> before posting! </div>
|
||||
<center> <img alt="mascot" class="lain_banner" src="static/duck.png"></center>
|
||||
<br>
|
||||
<div class="ban" id="global3">
|
||||
<div class="ban" id="global3">
|
||||
<h2>Latest News</h2>
|
||||
{% if not recent_news %}
|
||||
<p style="text-align:center" class="unimportant">(No news to show.)</p>
|
||||
|
@ -70,7 +70,7 @@
|
|||
<ul>
|
||||
{% for post in recent_posts %}
|
||||
<li>
|
||||
<strong>{{ post.board_name }}</strong>:
|
||||
<strong>{{ post.board_name }}</strong>:
|
||||
<a href="{{ post.link }}">
|
||||
{{ post.snippet }}
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue