Update website and send total=-1 when no content-type
This commit is contained in:
@@ -4,6 +4,7 @@ import Link from "@docusaurus/Link";
|
||||
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
|
||||
import Layout from "@theme/Layout";
|
||||
import HomepageFeatures from "@site/src/components/HomepageFeatures";
|
||||
import ExternalLibraries from "@site/src/components/ExternalLibraries";
|
||||
|
||||
import styles from "./index.module.css";
|
||||
|
||||
@@ -31,12 +32,13 @@ export default function Home(): JSX.Element {
|
||||
const { siteConfig } = useDocusaurusContext();
|
||||
return (
|
||||
<Layout
|
||||
title={`Hello from ${siteConfig.title}`}
|
||||
description="Description will go into a meta tag in <head />"
|
||||
title={`${siteConfig.title}`}
|
||||
description="ffmpeg.wasm is a pure WebAssembly / JavaScript port of FFmpeg"
|
||||
>
|
||||
<HomepageHeader />
|
||||
<main>
|
||||
<HomepageFeatures />
|
||||
<ExternalLibraries />
|
||||
</main>
|
||||
</Layout>
|
||||
);
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
title: Markdown page example
|
||||
---
|
||||
|
||||
# Markdown page example
|
||||
|
||||
You don't need React to write simple standalone pages.
|
||||
8
apps/website/src/pages/playground.md
Normal file
8
apps/website/src/pages/playground.md
Normal file
@@ -0,0 +1,8 @@
|
||||
import Playground from "@site/src/components/Playground";
|
||||
|
||||
# Playground
|
||||
|
||||
Hi! Welcome to ffmpeg.wasm playground! Here you can try and test ffmpeg.wasm
|
||||
with ease. :smile:
|
||||
|
||||
<Playground />
|
||||
Reference in New Issue
Block a user