mirror of
https://git.feneas.org/feneas/fediverse.git
synced 2024-12-23 03:48:58 +01:00
Redirect may be
This commit is contained in:
parent
2d93e7b018
commit
9b99111ba6
@ -25,6 +25,13 @@
|
|||||||
<div class="container <%= contType %>"><%- body %></div>
|
<div class="container <%= contType %>"><%- body %></div>
|
||||||
<h1><%=page.title%></h1>
|
<h1><%=page.title%></h1>
|
||||||
</main>
|
</main>
|
||||||
|
<!-- temporary gitlab pages redirect hack -->
|
||||||
|
<script>
|
||||||
|
const url = window.location.href;
|
||||||
|
if(url.match(/gitlab.io/)){
|
||||||
|
window.location = "https://fediverse.party";
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<script src="/js/main.min.js"></script>
|
<script src="/js/main.min.js"></script>
|
||||||
<% if (is_root()) { %> <script src="/js/index.min.js"></script> <% } %>
|
<% if (is_root()) { %> <script src="/js/index.min.js"></script> <% } %>
|
||||||
<% if (ball) { %> <script src="/js/ball.min.js"></script> <% } %>
|
<% if (ball) { %> <script src="/js/ball.min.js"></script> <% } %>
|
||||||
|
Loading…
Reference in New Issue
Block a user