mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-18 19:34:23 +01:00
Missing static paths
This commit is contained in:
parent
f92b61c176
commit
9122ba0829
2 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@ defmodule PhilomenaWeb do
|
||||||
and import those modules here.
|
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
|
def controller do
|
||||||
quote do
|
quote do
|
||||||
|
|
|
@ -13,9 +13,9 @@ html lang="en"
|
||||||
link rel="stylesheet" href=stylesheet_path(@current_user)
|
link rel="stylesheet" href=stylesheet_path(@current_user)
|
||||||
= if is_nil(@current_user) do
|
= if is_nil(@current_user) do
|
||||||
link rel="stylesheet" href=dark_stylesheet_path() media="(prefers-color-scheme: dark)"
|
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="/favicon.ico" type="image/x-icon"
|
||||||
link rel="icon" href=~p"/favicon.svg" type="image/svg+xml"
|
link rel="icon" href="/favicon.svg" type="image/svg+xml"
|
||||||
link rel="search" type="application/opensearchdescription+xml" title="Derpibooru" href=~p"/opensearch.xml"
|
link rel="search" type="application/opensearchdescription+xml" title="Derpibooru" href="/opensearch.xml"
|
||||||
meta name="generator" content="philomena"
|
meta name="generator" content="philomena"
|
||||||
meta name="theme-color" content="#618fc3"
|
meta name="theme-color" content="#618fc3"
|
||||||
meta name="format-detection" content="telephone=no"
|
meta name="format-detection" content="telephone=no"
|
||||||
|
|
Loading…
Reference in a new issue