misc: add robots.txt
This commit is contained in:
3 files changed
+22
-4
No files matched your search
@@ -147,7 +147,8 @@
|
|||||||
let tokens = $derived.by(() => marked.lexer(source))
|
let tokens = $derived.by(() => marked.lexer(source))
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<article
|
<svelte:element
|
||||||
|
this={inline ? 'div' : 'article'}
|
||||||
dir="auto"
|
dir="auto"
|
||||||
class={[!noStyle && 'break-words space-y-4 leading-normal', clazz]}
|
class={[!noStyle && 'break-words space-y-4 leading-normal', clazz]}
|
||||||
{style}
|
{style}
|
||||||
@@ -158,4 +159,4 @@
|
|||||||
{options}
|
{options}
|
||||||
isInline={inline || undefined}
|
isInline={inline || undefined}
|
||||||
/>
|
/>
|
||||||
</article>
|
</svelte:element>
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { browser } from '$app/environment'
|
import { browser } from '$app/environment'
|
||||||
import CommunityItem from '$lib/components/lemmy/community/CommunityItem.svelte'
|
|
||||||
import Location from '$lib/components/lemmy/dropdowns/Location.svelte'
|
import Location from '$lib/components/lemmy/dropdowns/Location.svelte'
|
||||||
import Sort from '$lib/components/lemmy/dropdowns/Sort.svelte'
|
import Sort from '$lib/components/lemmy/dropdowns/Sort.svelte'
|
||||||
import ViewSelect from '$lib/components/lemmy/dropdowns/ViewSelect.svelte'
|
import ViewSelect from '$lib/components/lemmy/dropdowns/ViewSelect.svelte'
|
||||||
@@ -14,7 +13,6 @@
|
|||||||
import { site } from '$lib/lemmy.svelte.js'
|
import { site } from '$lib/lemmy.svelte.js'
|
||||||
import { postFeeds } from '$lib/lemmy/postfeed.svelte.js'
|
import { postFeeds } from '$lib/lemmy/postfeed.svelte.js'
|
||||||
import { settings } from '$lib/settings.svelte.js'
|
import { settings } from '$lib/settings.svelte.js'
|
||||||
import { Material } from 'mono-svelte'
|
|
||||||
import Button from 'mono-svelte/button/Button.svelte'
|
import Button from 'mono-svelte/button/Button.svelte'
|
||||||
import { onMount } from 'svelte'
|
import { onMount } from 'svelte'
|
||||||
import { ArrowRight, ChartBar, Icon } from 'svelte-hero-icons'
|
import { ArrowRight, ChartBar, Icon } from 'svelte-hero-icons'
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
User-Agent: *
|
||||||
|
Allow: /
|
||||||
|
|
||||||
|
Disallow: /admin/
|
||||||
|
Disallow: /api/
|
||||||
|
Disallow: /accounts/
|
||||||
|
Disallow: /settings/
|
||||||
|
Disallow: /messages/
|
||||||
|
Disallow: /inbox/
|
||||||
|
|
||||||
|
Disallow: /search?
|
||||||
|
Disallow: /*?sort=
|
||||||
|
Disallow: /*?type_=
|
||||||
|
Disallow: /*?q=
|
||||||
|
|
||||||
|
Allow: /c/*/
|
||||||
|
Allow: /u/*/
|
||||||
|
Allow: /post/*/
|
||||||
|
Allow: /comment/*/
|
||||||
Reference in new issue
Block a user