mirror of
https://github.com/Xevion/undefined.behavio.rs.git
synced 2025-12-12 09:11:55 -06:00
Add ViewTransitions, remove console.log
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
import '@styles/global.scss';
|
import '@styles/global.scss';
|
||||||
import '@styles/fonts.scss';
|
import '@styles/fonts.scss';
|
||||||
|
import { ViewTransitions } from 'astro:transitions';
|
||||||
|
|
||||||
const repository_url = `https://github.com/${import.meta.env.PUBLIC_VERCEL_GIT_REPO_SLUG}/${import.meta.env.PUBLIC_VERCEL_GIT_REPO_OWNER}/`
|
const repository_url = `https://github.com/${import.meta.env.PUBLIC_VERCEL_GIT_REPO_SLUG}/${import.meta.env.PUBLIC_VERCEL_GIT_REPO_OWNER}/`
|
||||||
const build_revision = import.meta.env.PUBLIC_VERCEL_GIT_COMMIT_SHA;
|
const build_revision = import.meta.env.PUBLIC_VERCEL_GIT_COMMIT_SHA;
|
||||||
@@ -11,7 +12,6 @@ interface Props {
|
|||||||
|
|
||||||
const { title } = Astro.props;
|
const { title } = Astro.props;
|
||||||
const titleTag = title != undefined ? `${title} | xevion.blog` : 'xevion.blog';
|
const titleTag = title != undefined ? `${title} | xevion.blog` : 'xevion.blog';
|
||||||
console.log({ repository_url, build_revision, titleTag });
|
|
||||||
---
|
---
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
@@ -28,6 +28,7 @@ console.log({ repository_url, build_revision, titleTag });
|
|||||||
<link as="font" crossorigin href="/fonts/-cmuntt.woff2" rel="preload">
|
<link as="font" crossorigin href="/fonts/-cmuntt.woff2" rel="preload">
|
||||||
<link as="font" crossorigin href="/fonts/-cmunti.woff2" rel="preload">
|
<link as="font" crossorigin href="/fonts/-cmunti.woff2" rel="preload">
|
||||||
<link href="/feed.xml" rel="alternate" type="application/atom+xml">
|
<link href="/feed.xml" rel="alternate" type="application/atom+xml">
|
||||||
|
<ViewTransitions />
|
||||||
<!-- {page._preview_description and page.title or page.name == "index.html"} -->
|
<!-- {page._preview_description and page.title or page.name == "index.html"} -->
|
||||||
<!-- <meta content="website" property="og:type"> -->
|
<!-- <meta content="website" property="og:type"> -->
|
||||||
<!-- <meta property="og:url" content="{{ page.url | absolute_url }}"> -->
|
<!-- <meta property="og:url" content="{{ page.url | absolute_url }}"> -->
|
||||||
|
|||||||
Reference in New Issue
Block a user