From e99be95ce6dd34434a20d0a78a69147fc2e5fee5 Mon Sep 17 00:00:00 2001 From: Jean-Marie 'Histausse' Mineau Date: Sun, 15 Mar 2026 22:11:19 +0100 Subject: [PATCH] init --- README.md | 19 +++++++++++++++++++ lib.typ | 1 + typst.toml | 13 +++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 README.md create mode 100644 lib.typ create mode 100644 typst.toml diff --git a/README.md b/README.md new file mode 100644 index 0000000..8df80c4 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# Typst Template for Website + +This is highly experimental, use at your own risque. +I recommend forking and making your own modifications. + +## Install + +This is not in Universe, if you wand to use this package, symlink the repo to local: + +``` +mkdir -p ~/.local/share/typst/packages/local/template-web/ +ln -s $(pwd) ~/.local/share/typst/packages/local/template-web/0.0.1 +``` + +Then to use it in your typst file: + +```typst +#import "@local/template-web:0.0.1": * +``` diff --git a/lib.typ b/lib.typ new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/lib.typ @@ -0,0 +1 @@ + diff --git a/typst.toml b/typst.toml new file mode 100644 index 0000000..d5aaefc --- /dev/null +++ b/typst.toml @@ -0,0 +1,13 @@ +[package] +name = "template-web" +version = "0.0.1" +entrypoint = "lib.typ" +authors = ["Jean-Marie 'Histausse' Mineau "] +license = "MIT" +description = "A typst template for web." +repository = "https://git.mineau.eu/histausse/template-web.git" + +# [template] +# path = "template" +# entrypoint = "main.typ" +