From be2f084dbd2c522a89f2298c35b61ca7be22f9f1 Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Tue, 17 Dec 2024 23:23:00 +0000 Subject: [PATCH] feat: base template and styles reusing a ton of content + styles from the main compiler.la site referenced directly from the live URL at https://compiler.la --- README.md | 2 +- _layouts/default.html | 115 ++++++++++++++++++++++++++++++++++++++++++ styles/theme.css | 10 ++++ 3 files changed, 126 insertions(+), 1 deletion(-) create mode 100644 _layouts/default.html create mode 100644 styles/theme.css diff --git a/README.md b/README.md index 08a8e1d..a4c56da 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Published online at - [Compiler's blog](https://compiler.la/blog) and [feed](https://compiler.la/blog/feed.xml) - [Compiler's GitHub](https://github.com/compilerla) -## What is this repository for? +## What is this repository? This is Compiler's [GitHub Pages organization repository](https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#types-of-github-pages-sites), served under a custom domain using a [CNAME](https://github.com/compilerla/compilerla.github.io/blob/main/CNAME) file. diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..a957351 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,115 @@ + + + + + + {% seo %} + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
+
+ +
+ {{ content }} +
+
+
+
+
+ + + + + diff --git a/styles/theme.css b/styles/theme.css new file mode 100644 index 0000000..b5be6cf --- /dev/null +++ b/styles/theme.css @@ -0,0 +1,10 @@ +@import url("https://compiler.la/styles/base.css"); + +:root { + --brand-primary-purple: #defdef; + --bs-code-color: var(--brand-primary-purple); +} + +p { + margin-top: 1rem; +}