Skip to content

shivan-s/shivan.xyz

Repository files navigation

Build

This is source code for my blog.

SvelteKit

This uses SvelteKit, as a static site generator.

Hosting

This is hosted using Cloudflare Pages.

Creating a New Post

This can be done with the following command:

npm run new -- new-post

This will create a new directory /content/posts/new-posts and pre-filled index.md file.

Special Components in Markdown

<YouTube /> - YouTube videos

For displaying, playable embeded YouTube videos. Inspired by hugo.

<script>
	import YouTube from "YouTube"
</script>

<YouTube id="<youtube-id>" />

<Figure /> - Images

<script>
	import Figure from "Figure"
	import image from "./image.png" // Ficticious image imported
</script>

<Figure src={image} alt="Important alt to describe image" caption="Caption for image" />

About

My Personal Blog and Website

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •