diff options
| author | Himanshu Sardana <himanshusardana2005@gmail.com> | 2026-03-17 00:56:00 +0000 |
|---|---|---|
| committer | Himanshu Sardana <himanshusardana2005@gmail.com> | 2026-03-17 00:56:00 +0000 |
| commit | 3fe2298f9be73bfeb29b9611cb78a0ac83160185 (patch) | |
| tree | 3e02f527fd163751a5e52f1c955d753d0bd68e6a | |
| parent | 7f523be08a01cc7d2952c19fa5ccf3645acc8e6a (diff) | |
feat: add layout (with syntax highlighting)
| -rw-r--r-- | layout.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/layout.html b/layout.html new file mode 100644 index 0000000..b8e3cbb --- /dev/null +++ b/layout.html @@ -0,0 +1,23 @@ +<!doctype html> +<html lang="en"> + <head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>{{ .Title }}</title> + + <link rel="preconnect" href="https://fonts.googleapis.com" /> + <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> + <link + href="https://cdn.jsdelivr.net/npm/prismjs/themes/prism.css" + rel="stylesheet" + /> + <script src="https://cdn.jsdelivr.net/npm/prismjs/prism.js"></script> + <script src="https://cdn.jsdelivr.net/npm/prismjs/plugins/autoloader/prism-autoloader.min.js"></script> + + <link rel="stylesheet" href="../themes/tufte.css" /> + </head> + + <body> + <main class="article">{{ .Content }}</main> + </body> +</html> |
