added emojis next to theme names, cleaned up go.mod, removed unnecessary language string
This commit is contained in:
parent
90d3964ca2
commit
ef0efc72fd
7 changed files with 46 additions and 86 deletions
|
@ -6,7 +6,7 @@
|
|||
{{ if .IsThemeDark }}
|
||||
<meta name="darkreader-lock">
|
||||
{{ end }}
|
||||
<title>{{ translate "site_name" }}</title>
|
||||
<title>{{ translate "site_description" }}</title>
|
||||
<link rel="stylesheet" href="/static/css/style-search.css">
|
||||
<link rel="stylesheet" href="/static/css/{{.Theme}}.css">
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="{{ translate "site_name" }}" href="/opensearch.xml">
|
||||
|
|
|
@ -29,25 +29,25 @@
|
|||
<a href="/search?theme=dark" class="theme-link">
|
||||
<div class="view-image-search clickable" id="dark">
|
||||
<img src="/static/images/dark.webp" alt="{{ translate "theme_dark" }}">
|
||||
<div class="theme-tooltip">{{ translate "theme_dark" }}</div>
|
||||
<div class="theme-tooltip">🌆 {{ translate "theme_dark" }}</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="/search?theme=light" class="theme-link">
|
||||
<div class="view-image-search clickable" id="light">
|
||||
<img src="/static/images/light.webp" alt="{{ translate "theme_light" }}">
|
||||
<div class="theme-tooltip">{{ translate "theme_light" }}</div>
|
||||
<div class="theme-tooltip">🌇 {{ translate "theme_light" }}</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="/search?theme=night" class="theme-link">
|
||||
<div class="view-image-search clickable" id="night">
|
||||
<img src="/static/images/night.webp" alt="{{ translate "theme_night" }}">
|
||||
<div class="theme-tooltip">{{ translate "theme_night" }}</div>
|
||||
<div class="theme-tooltip">🌃 {{ translate "theme_night" }}</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="/search?theme=black" class="theme-link">
|
||||
<div class="view-image-search clickable" id="black">
|
||||
<img src="/static/images/black.webp" alt="{{ translate "theme_black" }}">
|
||||
<div class="theme-tooltip">{{ translate "theme_black" }}</div>
|
||||
<img src="/static/images/black.webp" alt="🕶️ {{ translate "theme_black" }}">
|
||||
<div class="theme-tooltip">🐈⬛ {{ translate "theme_black" }}</div>
|
||||
</div>
|
||||
</a>
|
||||
<a href="/search?theme=mocha" class="theme-link">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue