add git hash to css + js + img for cache
All checks were successful
/ build-all-services (push) Successful in 9m51s
All checks were successful
/ build-all-services (push) Successful in 9m51s
this should invalidate the cache everytime we recompile the frontends on a new git commit
This commit is contained in:
parent
b8a338d9ba
commit
6fa292d1de
12 changed files with 46 additions and 46 deletions
|
@ -3,7 +3,7 @@
|
||||||
{% block title %}Login{% endblock %}
|
{% block title %}Login{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<link rel="stylesheet" href="/static/auth.css"/>
|
<link rel="stylesheet" href="/static/auth.css?git={{ git_commit }}"/>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page %}
|
{% block page %}
|
||||||
|
@ -11,10 +11,10 @@
|
||||||
<a id="alyphebig" href="https://asklyphe.com/">
|
<a id="alyphebig" href="https://asklyphe.com/">
|
||||||
<div id="lyphebig">
|
<div id="lyphebig">
|
||||||
<div class="bent-surrounding">
|
<div class="bent-surrounding">
|
||||||
<img id="lypheimg" src="/static/img/lyphebent.png" alt="image of lyphe, our mascot!">
|
<img id="lypheimg" src="/static/img/lyphebent.png?git={{ git_commit }}" alt="image of lyphe, our mascot!">
|
||||||
</div>
|
</div>
|
||||||
<div id="lyphetitle">
|
<div id="lyphetitle">
|
||||||
<img src="/static/img/logo.png" alt="ask Lyphe!"/>
|
<img src="/static/img/logo.png?git={{ git_commit }}" alt="ask Lyphe!"/>
|
||||||
<p>the best search engine!</p>
|
<p>the best search engine!</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{% block title %}Register{% endblock %}
|
{% block title %}Register{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<link rel="stylesheet" href="/static/auth.css"/>
|
<link rel="stylesheet" href="/static/auth.css?git={{ git_commit }}"/>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page %}
|
{% block page %}
|
||||||
|
@ -11,10 +11,10 @@
|
||||||
<a id="alyphebig" href="https://asklyphe.com/">
|
<a id="alyphebig" href="https://asklyphe.com/">
|
||||||
<div id="lyphebig">
|
<div id="lyphebig">
|
||||||
<div class="bent-surrounding">
|
<div class="bent-surrounding">
|
||||||
<img id="lypheimg" src="/static/img/lyphebent.png" alt="image of lyphe, our mascot!">
|
<img id="lypheimg" src="/static/img/lyphebent.png?git={{ git_commit }}" alt="image of lyphe, our mascot!">
|
||||||
</div>
|
</div>
|
||||||
<div id="lyphetitle">
|
<div id="lyphetitle">
|
||||||
<img src="/static/img/logo.png" alt="ask Lyphe!"/>
|
<img src="/static/img/logo.png?git={{ git_commit }}" alt="ask Lyphe!"/>
|
||||||
<p>the best search engine!</p>
|
<p>the best search engine!</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
title="AskLyphe"
|
title="AskLyphe"
|
||||||
href="/static/osd.xml" />
|
href="/static/osd.xml" />
|
||||||
|
|
||||||
<link rel="stylesheet" href="/static/shell.css" />
|
<link rel="stylesheet" href="/static/shell.css?git={{ git_commit }}" />
|
||||||
|
|
||||||
{% block head %}{% endblock %}
|
{% block head %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{% block title %}Verify Email{% endblock %}
|
{% block title %}Verify Email{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<link rel="stylesheet" href="/static/auth.css"/>
|
<link rel="stylesheet" href="/static/auth.css?git={{ git_commit }}"/>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page %}
|
{% block page %}
|
||||||
|
@ -11,10 +11,10 @@
|
||||||
<a id="alyphebig" href="https://asklyphe.com/">
|
<a id="alyphebig" href="https://asklyphe.com/">
|
||||||
<div id="lyphebig">
|
<div id="lyphebig">
|
||||||
<div class="bent-surrounding">
|
<div class="bent-surrounding">
|
||||||
<img id="lypheimg" src="/static/img/lyphebent.png" alt="image of lyphe, our mascot!">
|
<img id="lypheimg" src="/static/img/lyphebent.png?git={{ git_commit }}" alt="image of lyphe, our mascot!">
|
||||||
</div>
|
</div>
|
||||||
<div id="lyphetitle">
|
<div id="lyphetitle">
|
||||||
<img src="/static/img/logo.png" alt="ask Lyphe!"/>
|
<img src="/static/img/logo.png?git={{ git_commit }}" alt="ask Lyphe!"/>
|
||||||
<p>the best search engine!</p>
|
<p>the best search engine!</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{% block title %}{{ announcement.title }}{% endblock %}
|
{% block title %}{{ announcement.title }}{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<link rel="stylesheet" href="/static/themes/default/announcement.css"/>
|
<link rel="stylesheet" href="/static/themes/default/announcement.css?git={{ git_commit }}"/>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page %}
|
{% block page %}
|
||||||
|
@ -12,11 +12,11 @@
|
||||||
<a href="/" class="lyphe">
|
<a href="/" class="lyphe">
|
||||||
<div id="lyphesmall">
|
<div id="lyphesmall">
|
||||||
<div class="bent-surrounding">
|
<div class="bent-surrounding">
|
||||||
<img id="lypheimg" src="/static/img/lyphebent{% if alpha %}-alpha{% endif %}.png"
|
<img id="lypheimg" src="/static/img/lyphebent{% if alpha %}-alpha{% endif %}.png?git={{ git_commit }}"
|
||||||
alt="image of lyphe, our mascot!">
|
alt="image of lyphe, our mascot!">
|
||||||
</div>
|
</div>
|
||||||
<div id="lyphetitlenav">
|
<div id="lyphetitlenav">
|
||||||
<img src="/static/img/logo.png" alt="ask lyphe!"/>
|
<img src="/static/img/logo.png?git={{ git_commit }}" alt="ask lyphe!"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
{% block title %}the best search engine{% endblock %}
|
{% block title %}the best search engine{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/frontpage.css"/>
|
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/frontpage.css?git={{ git_commit }}"/>
|
||||||
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/inline-announcement.css"/>
|
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/inline-announcement.css?git={{ git_commit }}"/>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page %}
|
{% block page %}
|
||||||
|
@ -17,10 +17,10 @@
|
||||||
{% endmatch %}
|
{% endmatch %}
|
||||||
<div id="lyphebig">
|
<div id="lyphebig">
|
||||||
<div class="bent-surrounding">
|
<div class="bent-surrounding">
|
||||||
<img id="lypheimg" src="/static/img/lyphebent{% if alpha %}-alpha{% endif %}.png" alt="image of lyphe, our mascot!">
|
<img id="lypheimg" src="/static/img/lyphebent{% if alpha %}-alpha{% endif %}.png?git={{ git_commit }}" alt="image of lyphe, our mascot!">
|
||||||
</div>
|
</div>
|
||||||
<div id="lyphetitle">
|
<div id="lyphetitle">
|
||||||
<img src="/static/img/logo.png" alt="ask Lyphe!"/>
|
<img src="/static/img/logo.png?git={{ git_commit }}" alt="ask Lyphe!"/>
|
||||||
<p>a user-first, customizable, useful, and fun search engine!</p>
|
<p>a user-first, customizable, useful, and fun search engine!</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -67,7 +67,7 @@
|
||||||
<div class="pagegradient">
|
<div class="pagegradient">
|
||||||
<div id="userfirst" class="feature">
|
<div id="userfirst" class="feature">
|
||||||
<h1>user-first</h1>
|
<h1>user-first</h1>
|
||||||
<img src="/static/lyphe.png" alt="lorem ipsum dolor sit amet"/>
|
<img src="/static/lyphe.png?git={{ git_commit }}" alt="lorem ipsum dolor sit amet"/>
|
||||||
<p>
|
<p>
|
||||||
we will never serve a single ad.
|
we will never serve a single ad.
|
||||||
<br/>
|
<br/>
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="customizable" class="feature">
|
<div id="customizable" class="feature">
|
||||||
<h1>customizable</h1>
|
<h1>customizable</h1>
|
||||||
<img src="/static/lyphe.png" alt="lorem ipsum dolor sit amet"/>
|
<img src="/static/lyphe.png?git={{ git_commit }}" alt="lorem ipsum dolor sit amet"/>
|
||||||
<p>
|
<p>
|
||||||
we aim to design askLyphe in a way that makes personalizing your search results easy and fun!
|
we aim to design askLyphe in a way that makes personalizing your search results easy and fun!
|
||||||
<br/>
|
<br/>
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="useful-fun" class="feature">
|
<div id="useful-fun" class="feature">
|
||||||
<h1>useful, but fun!</h1>
|
<h1>useful, but fun!</h1>
|
||||||
<img src="/static/lyphe.png" alt="lorem ipsum dolor sit amet"/>
|
<img src="/static/lyphe.png?git={{ git_commit }}" alt="lorem ipsum dolor sit amet"/>
|
||||||
<p>
|
<p>
|
||||||
our search engine does not rely on (however may still include, for completeness) results from
|
our search engine does not rely on (however may still include, for completeness) results from
|
||||||
Google, Bing, or any other search engine out there.
|
Google, Bing, or any other search engine out there.
|
||||||
|
@ -135,7 +135,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="fourth-box" class="feature">
|
<div id="fourth-box" class="feature">
|
||||||
<h1>fourth box!</h1>
|
<h1>fourth box!</h1>
|
||||||
<img src="/static/lyphe.png" alt="lorem ipsum dolor sit amet"/>
|
<img src="/static/lyphe.png?git={{ git_commit }}" alt="lorem ipsum dolor sit amet"/>
|
||||||
<p>
|
<p>
|
||||||
i haven't decided what to put here yet! we're still in alpha so i'm sure i'll come up with something
|
i haven't decided what to put here yet! we're still in alpha so i'm sure i'll come up with something
|
||||||
eventually, but i wanted this fourth box because i feel like the design flows nicer with it (:
|
eventually, but i wanted this fourth box because i feel like the design flows nicer with it (:
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
{% block title %}Home{% endblock %}
|
{% block title %}Home{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<link rel="stylesheet" href="/static/themes/default/home.css"/>
|
<link rel="stylesheet" href="/static/themes/default/home.css?git={{ git_commit }}"/>
|
||||||
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/home.css"/>
|
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/home.css?git={{ git_commit }}"/>
|
||||||
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/inline-announcement.css"/>
|
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/inline-announcement.css?git={{ git_commit }}"/>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page %}
|
{% block page %}
|
||||||
|
@ -15,10 +15,10 @@
|
||||||
<div class="pagecontent">
|
<div class="pagecontent">
|
||||||
<div id="lyphebig">
|
<div id="lyphebig">
|
||||||
<div class="bent-surrounding">
|
<div class="bent-surrounding">
|
||||||
<img id="lypheimg" src="/static/img/lyphebent{% if alpha %}-alpha{% endif %}.png" alt="image of lyphe, our mascot!">
|
<img id="lypheimg" src="/static/img/lyphebent{% if alpha %}-alpha{% endif %}.png?git={{ git_commit }}" alt="image of lyphe, our mascot!">
|
||||||
</div>
|
</div>
|
||||||
<div id="lyphetitle">
|
<div id="lyphetitle">
|
||||||
<img src="/static/img/logo.png" alt="ask Lyphe!"/>
|
<img src="/static/img/logo.png?git={{ git_commit }}" alt="ask Lyphe!"/>
|
||||||
<h2>the best search engine!</h2>
|
<h2>the best search engine!</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
{% block title %}Images - {{ search_query }}{% endblock %}
|
{% block title %}Images - {{ search_query }}{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<link rel="stylesheet" href="/static/themes/default/imagesearch.css"/>
|
<link rel="stylesheet" href="/static/themes/default/imagesearch.css?git={{ git_commit }}"/>
|
||||||
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/imagesearch.css"/>
|
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/imagesearch.css?git={{ git_commit }}"/>
|
||||||
{% if search_query == "notnite" %}<link rel="stylesheet" href="/static/creature.css"/>{% endif %}
|
{% if search_query == "notnite" %}<link rel="stylesheet" href="/static/creature.css?git={{ git_commit }}"/>{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page %}
|
{% block page %}
|
||||||
|
@ -16,10 +16,10 @@
|
||||||
|
|
||||||
<div class="index-bar">
|
<div class="index-bar">
|
||||||
<a href="{{ websearch_url }}">
|
<a href="{{ websearch_url }}">
|
||||||
<img id="websearch-img" src="/static/img/websearch.png" alt="search the web"/>
|
<img id="websearch-img" src="/static/img/websearch.png?git={{ git_commit }}" alt="search the web"/>
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ imagesearch_url }}">
|
<a href="{{ imagesearch_url }}">
|
||||||
<img id="imagesearch-img-selected" src="/static/img/imagesearch_selected.png" alt="search for images"/>
|
<img id="imagesearch-img-selected" src="/static/img/imagesearch_selected.png?git={{ git_commit }}" alt="search for images"/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
{% block title %}{{ search_query }}{% endblock %}
|
{% block title %}{{ search_query }}{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<link rel="stylesheet" href="/static/themes/default/search.css"/>
|
<link rel="stylesheet" href="/static/themes/default/search.css?git={{ git_commit }}"/>
|
||||||
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/search.css"/>
|
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/search.css?git={{ git_commit }}"/>
|
||||||
{% if search_query == "notnite" %}<link rel="stylesheet" href="/static/creature.css"/>{% endif %}
|
{% if search_query == "notnite" %}<link rel="stylesheet" href="/static/creature.css?git={{ git_commit }}"/>{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page %}
|
{% block page %}
|
||||||
|
@ -16,10 +16,10 @@
|
||||||
|
|
||||||
<div class="index-bar">
|
<div class="index-bar">
|
||||||
<a href="{{ websearch_url }}">
|
<a href="{{ websearch_url }}">
|
||||||
<img id="websearch-img-selected" src="/static/img/websearch_selected.png" alt="search the web"/>
|
<img id="websearch-img-selected" src="/static/img/websearch_selected.png?git={{ git_commit }}" alt="search the web"/>
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ imagesearch_url }}">
|
<a href="{{ imagesearch_url }}">
|
||||||
<img id="imagesearch-img" src="/static/img/imagesearch.png" alt="search for images"/>
|
<img id="imagesearch-img" src="/static/img/imagesearch.png?git={{ git_commit }}" alt="search for images"/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
{% block title %}{{ search_query }}{% endblock %}
|
{% block title %}{{ search_query }}{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<link rel="stylesheet" href="/static/themes/default/search.css"/>
|
<link rel="stylesheet" href="/static/themes/default/search.css?git={{ git_commit }}"/>
|
||||||
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/search.css"/>
|
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/search.css?git={{ git_commit }}"/>
|
||||||
{% if search_query == "notnite" %}<link rel="stylesheet" href="/static/creature.css"/>{% endif %}
|
{% if search_query == "notnite" %}<link rel="stylesheet" href="/static/creature.css?git={{ git_commit }}"/>{% endif %}
|
||||||
<script src="/static/js/search.js" defer></script>
|
<script src="/static/js/search.js?git={{ git_commit }}" defer></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page %}
|
{% block page %}
|
||||||
|
@ -17,10 +17,10 @@
|
||||||
|
|
||||||
<div class="index-bar">
|
<div class="index-bar">
|
||||||
<a href="{{ websearch_url }}">
|
<a href="{{ websearch_url }}">
|
||||||
<img id="websearch-img-selected" src="/static/img/websearch_selected.png" alt="search the web"/>
|
<img id="websearch-img-selected" src="/static/img/websearch_selected.png?git={{ git_commit }}" alt="search the web"/>
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ imagesearch_url }}">
|
<a href="{{ imagesearch_url }}">
|
||||||
<img id="imagesearch-img" src="/static/img/imagesearch.png" alt="search for images"/>
|
<img id="imagesearch-img" src="/static/img/imagesearch.png?git={{ git_commit }}" alt="search for images"/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
title="AskLyphe"
|
title="AskLyphe"
|
||||||
href="/static/osd.xml" />
|
href="/static/osd.xml" />
|
||||||
|
|
||||||
<link rel="stylesheet" href="/static/themes/default/shell.css" />
|
<link rel="stylesheet" href="/static/themes/default/shell.css?git={{ git_commit }}" />
|
||||||
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/shell.css" />
|
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/shell.css?git={{ git_commit }}" />
|
||||||
|
|
||||||
{% block head %}{% endblock %}
|
{% block head %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
{% block title %}{{ search_query }}{% endblock %}
|
{% block title %}{{ search_query }}{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<link rel="stylesheet" href="/static/themes/default/settings.css"/>
|
<link rel="stylesheet" href="/static/themes/default/settings.css?git={{ git_commit }}"/>
|
||||||
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/settings.css"/>
|
<link rel="stylesheet" href="/static/themes/{{theme.internal_name()}}/settings.css?git={{ git_commit }}"/>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block page %}
|
{% block page %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue