Missing static paths

This commit is contained in:
Liam 2024-06-03 09:35:44 -04:00
parent f92b61c176
commit 9122ba0829
2 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ defmodule PhilomenaWeb do
and import those modules here.
"""
def static_paths, do: ~w(assets favicon.ico favicon.svg robots.txt opensearch.xml)
def static_paths, do: ~w(assets css js favicon.ico favicon.svg robots.txt opensearch.xml)
def controller do
quote do

View file

@ -13,9 +13,9 @@ html lang="en"
link rel="stylesheet" href=stylesheet_path(@current_user)
= if is_nil(@current_user) do
link rel="stylesheet" href=dark_stylesheet_path() media="(prefers-color-scheme: dark)"
link rel="icon" href=~p"/favicon.ico" type="image/x-icon"
link rel="icon" href=~p"/favicon.svg" type="image/svg+xml"
link rel="search" type="application/opensearchdescription+xml" title="Derpibooru" href=~p"/opensearch.xml"
link rel="icon" href="/favicon.ico" type="image/x-icon"
link rel="icon" href="/favicon.svg" type="image/svg+xml"
link rel="search" type="application/opensearchdescription+xml" title="Derpibooru" href="/opensearch.xml"
meta name="generator" content="philomena"
meta name="theme-color" content="#618fc3"
meta name="format-detection" content="telephone=no"