Skip to content

Commit 262f014

Browse files
committed
feat: autodiscover rss
1 parent 143769a commit 262f014

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/Web/x-base.view.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
?>
55

6-
<html lang="en" class="h-dvh flex flex-col scroll-smooth">
6+
<html lang="en" class="flex flex-col h-dvh scroll-smooth">
77
<head>
88
<!-- Meta title -->
99
<?php
@@ -17,6 +17,7 @@
1717
<title>{{ $title }}</title>
1818

1919
<link :if="$meta['canonical'] ?? null" rel="canonical" :href="$meta['canonical']" />
20+
<link rel="alternate" type="application/rss+xml" title="Tempest RSS" href="https://tempestphp.com/rss" />
2021

2122
<meta name="title" :content="$title">
2223
<meta name="twitter:title" :content="$title">
@@ -79,7 +80,7 @@ function toggleDarkMode() {
7980
<x-slot name="head"/>
8081
</head>
8182
<body :class="trim($bodyClass ?? '')" class="relative antialiased flex flex-col grow selection:bg-(--ui-primary)/20 selection:text-(--ui-primary) font-sans text-(--ui-text) bg-(--ui-bg) scheme-light dark:scheme-dark !overflow-visible !pr-0">
82-
<div class="absolute pointer-events-none inset-0 bg-repeat" style="background-image: url(/noise.svg)">
83+
<div class="absolute inset-0 bg-repeat pointer-events-none" style="background-image: url(/noise.svg)">
8384
<div id="command-palette"></div>
8485
</div>
8586
<x-header :stargazers="$this->stargazers"/>
@@ -89,8 +90,8 @@ function toggleDarkMode() {
8990
<x-template :if="$copyCodeBlocks ?? false">
9091
<template id="copy-template">
9192
<button class="absolute group top-2 right-2 size-7 flex items-center justify-center cursor-pointer opacity-0 group-hover:opacity-100 transition text-(--ui-text-dimmed) bg-(--ui-bg-muted) rounded border border-(--ui-border) hover:text-(--ui-text-highlighted)">
92-
<x-icon name="tabler:copy" class="size-5 absolute"/>
93-
<x-icon name="tabler:copy-check-filled" class="size-5 absolute opacity-0 group-[[data-copied]]:opacity-100 transition"/>
93+
<x-icon name="tabler:copy" class="absolute size-5"/>
94+
<x-icon name="tabler:copy-check-filled" class="absolute opacity-0 group-[[data-copied]]:opacity-100 size-5 transition"/>
9495
</button>
9596
</template>
9697
</x-template>

0 commit comments

Comments
 (0)