improve homepage layout and add motd

This commit is contained in:
2025-08-22 03:39:07 -04:00
parent cb41258a03
commit 0b10533b88
2 changed files with 6 additions and 2 deletions

View File

@ -25,3 +25,4 @@ INCLUDE_NEWS_LINK=false
INCLUDE_4GET_DONATION_LINK=true INCLUDE_4GET_DONATION_LINK=true
INCLUDE_SOURCE_LINK=false INCLUDE_SOURCE_LINK=false
API_ENABLED=false API_ENABLED=false
#MOTD="A proxy search engine that doesn't suck"

View File

@ -29,7 +29,10 @@
</div> </div>
</form> </form>
<a href="settings">Settings</a> • <a href="instances">Instances</a> • {{ if eq (env "INCLUDE_NEWS_LINK" ) "true" }} <a href="https://git.lolcat.ca/lolcat/4get_news">News</a> • {{ end }}<a href="api.txt">API</a> • <a href="about">About</a>{{ if eq (env "INCLUDE_SOURCE_LINK" ) "true" }} • <a href="https://git.lolcat.ca/lolcat/4get">Source</a><br>{{ end }} <a href="settings">Settings</a> • <a href="instances">Instances</a> • {{ if eq (env "INCLUDE_NEWS_LINK" ) "true" }} <a href="https://git.lolcat.ca/lolcat/4get_news">News</a> • {{ end }}<a href="api.txt">API</a> • <a href="about">About</a>{{ if eq (env "INCLUDE_SOURCE_LINK" ) "true" }} • <a href="https://git.lolcat.ca/lolcat/4get">Source</a><br>{{ end }}
<br><br><a href="/donate"><b>Donate to 4get</b></a> <br><br>
<center><i>{{ env "MOTD" }}</i></center>
<br><a href="/donate"><b>Donate to 4get</b></a>
<br>Running on <b>v8</b>!!
</div> </div>
<script src="/static/client.js?v{%version%}"></script> <script src="/static/client.js?v{%version%}"></script>
</body> </body>