templates: bust all css caches with resource_version

This commit is contained in:
Zankaria 2024-08-22 00:15:51 +02:00
parent abfa773282
commit ef1634184a
7 changed files with 21 additions and 21 deletions

View file

@ -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>