feat: add instance favicon, etc
This commit is contained in:
1 parent
11cfd0d9fe
commit
8003049109
3 files changed
+12
-9
No files matched your search
@@ -52,11 +52,9 @@ The most common settings you'll use are `PUBLIC_INSTANCE_URL`. Some selfhosters
|
||||
|
||||
The following environment variables can be set to override the default settings:
|
||||
|
||||
|
||||
| Variable | Values | Default Value |
|
||||
| ------------------------------- | ------------------- | -------------------------------------- |
|
||||
| PUBLIC_INSTANCE_URL | URL | `lemmy.ml` |
|
||||
| PUBLIC_INTERNAL_INSTANCE | URL? | null |
|
||||
| PUBLIC_LOCK_TO_INSTANCE | `bool` | `true` if `PUBLIC_INSTANCE_URL` is set |
|
||||
| PUBLIC_SSR_ENABLED | `bool` | `false` |
|
||||
| PUBLIC_MIGRATE_COOKIE | `bool` | `false` |
|
||||
@@ -133,8 +131,7 @@ Want your instance added here? Make a GitHub issue or make a PR! (this is for ge
|
||||
|
||||
[phtn.app](https://phtn.app) is the official instance and will get updates instantly.
|
||||
|
||||
|
||||
| Instance | Location | Contact |
|
||||
| Instance | Location | Contact |
|
||||
| --------------------------------------------------------------------------------------- | ------------ | ------------------------------------------------------------------------------------- |
|
||||
| [phtn.app (Official)](https://phtn.app) | 🇺🇸 US West | [photon@xylight.dev](mailto:photon@xylight.dev) |
|
||||
| [ph.opnxng.com](https://ph.opnxng.com) | 🇸🇬 Singapore | [about.opnxng.com](https://about.opnxng.com) |
|
||||
@@ -142,7 +139,7 @@ Want your instance added here? Make a GitHub issue or make a PR! (this is for ge
|
||||
| [p.lemmy.ohaa.xyz](https://p.lemmy.ohaa.xyz) | 🇦🇹 Austria | (???) |
|
||||
| [~~photon.zhenyapav.com~~ (Has not updated since v1.9.2)](https://photon.zhenyapav.com) | 🇮🇸 Iceland | [zhenyapav@zhenyapav.com](mailto:zhenyapav@zhenyapav.com) |
|
||||
| [~~ph.buckodr.ink~~ (Has not updated since v1.21.1)](https://ph.buckodr.ink) | 🇺🇸 US East | [admin@buckodr.ink](mailto:admin@buckodr.ink) |
|
||||
| [phtn.ngn.tf](https://phtn.ngn.tf) | 🇹🇷 Turkey | [services@ngn.tf](mailto:services@ngn.tf)
|
||||
| [phtn.ngn.tf](https://phtn.ngn.tf) | 🇹🇷 Turkey | [services@ngn.tf](mailto:services@ngn.tf) |
|
||||
|
||||
## Donate
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
import SiteCard from '$lib/components/lemmy/SiteCard.svelte'
|
||||
import { site } from '$lib/lemmy.js'
|
||||
import ExpandableImage from '$lib/components/ui/ExpandableImage.svelte'
|
||||
import { LINKED_INSTANCE_URL } from '$lib/instance'
|
||||
|
||||
nProgress.configure({
|
||||
minimum: 0.4,
|
||||
@@ -64,6 +65,15 @@
|
||||
|
||||
<svelte:head>
|
||||
<meta name="theme-color" content={darkTheme ? '#09090b' : '#f8fafc'} />
|
||||
{#if $site}
|
||||
<title>{$site.site_view.site.name}</title>
|
||||
{#if LINKED_INSTANCE_URL}
|
||||
<link rel="icon" href={$site.site_view.site.icon} />
|
||||
<meta name="description" content={$site.site_view.site.description} />
|
||||
{:else}
|
||||
<meta name="description" content="A sleek client for Lemmy" />
|
||||
{/if}
|
||||
{/if}
|
||||
{@html webManifest}
|
||||
</svelte:head>
|
||||
|
||||
|
||||
@@ -19,10 +19,6 @@
|
||||
let sidebar = false
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>Photon</title>
|
||||
</svelte:head>
|
||||
|
||||
<Modal bind:open={sidebar}>
|
||||
<span slot="title">About</span>
|
||||
<div class="mx-auto">
|
||||
|
||||
Reference in new issue
Block a user