-{{< button content="Small" size="small" >}}
-{{< button content="Normal" size="normal" >}}
-{{< button content="Large" size="large" >}}
-
-{{< button color="theme" icon="eva eva-heart" content="Theme Button" link="https://google.com" >}}
-{{< button color="red" icon="eva eva-home" content="Red Button" link="https://google.com" >}}
-{{< button color="green" icon="eva eva-twitter" content="Green Button" link="https://google.com" >}}
-{{< button color="blue" icon="eva eva-github" content="Blue Button" link="https://google.com" >}}
-{{< button color="orange" icon="eva eva-search" content="Orange Button" link="https://google.com" >}}
-
-{{< button-outline color="theme" icon="eva eva-heart" content="Theme Button" link="https://google.com" >}}
-{{< button-outline color="red" icon="eva eva-home" content="Red Button" link="https://google.com" >}}
-{{< button-outline color="green" icon="eva eva-twitter" content="Green Button" link="https://google.com" >}}
-{{< button-outline color="blue" icon="eva eva-github" content="Blue Button" link="https://google.com" >}}
-{{< button-outline color="orange" icon="eva eva-search" content="Orange Button" link="https://google.com" >}}
-
-
-## Text layout
-
-```markdown
-{{* align left "Text left" */>}}
-
-{{* align center "Text center" */>}}
-
-{{* align right "Text right" */>}}
-```
-
-{{< align left "Text left" >}}
-
-{{< align center "Text center" >}}
-
-{{< align right "Text right" >}}
-
-## GitHub
-
-```markdown
-{{* github name="gohugoio/hugo" link="https://github.com/gohugoio/hugo" description="The world’s fastest framework for building websites." color="#00ADD8" language="Go" */>}}
-```
-
-{{< github name="gohugoio/hugo" link="https://github.com/gohugoio/hugo" description="The world’s fastest framework for building websites." color="#00ADD8" language="Go" >}}
-
-## GitHub Auto
-
-```markdown
-{{* github-auto name="Ice-Hazymoon/hugo-theme-luna" */>}}
-```
-
-{{< github-auto name="Ice-Hazymoon/hugo-theme-luna" >}}
-
-## Notice
-
-```markdown
-{{* notice warn */>}}
-Let life be beautiful like summer flowers and death like autumn leaves.
-{{* /notice */>}}
-
-{{* notice error */>}}
-Let life be beautiful like summer flowers and death like autumn leaves.
-{{* /notice */>}}
-
-{{* notice info */>}}
-Let life be beautiful like summer flowers and death like autumn leaves.
-{{* /notice */>}}
-
-{{* notice success */>}}
-Let life be beautiful like summer flowers and death like autumn leaves.
-{{* /notice */>}}
-```
-
-{{< notice warn >}}
-Let life be beautiful like summer flowers and death like autumn leaves.
-{{< /notice >}}
-
-{{< notice error >}}
-Let life be beautiful like summer flowers and death like autumn leaves.
-{{< /notice >}}
-
-{{< notice info >}}
-Let life be beautiful like summer flowers and death like autumn leaves.
-{{< /notice >}}
-
-{{< notice success >}}
-Let life be beautiful like summer flowers and death like autumn leaves.
-{{< /notice >}}
-
-## Quote
-
-```markdown
-{{* quote */>}}
-Let life be beautiful like summer flowers and death like autumn leaves.
-{{* /quote */>}}
-```
-
-{{< quote >}}
-Let life be beautiful like summer flowers and death like autumn leaves.
-{{< /quote >}}
-
-## Quote Center
-
-```markdown
-{{* quote-center */>}}
-The curfew tolls the knell of parting day,
-The lowing herd wind slowly o'er the lea
-The ploughman homeward plods his weary way,
-And leaves the world to darkness and to me.
-{{* /quote-center */>}}
-```
-
-{{< quote-center >}}
-The curfew tolls the knell of parting day,
-The lowing herd wind slowly o'er the lea
-The ploughman homeward plods his weary way,
-And leaves the world to darkness and to me.
-{{< /quote-center >}}
-
-## Tags
-
-```markdown
-This is a {{* tag theme "theme tag" */>}}
-This is a {{* tag red "red tag" */>}}
-This is a {{* tag green "green tag" */>}}
-This is a {{* tag blue "blue tag" */>}}
-This is a {{* tag orange "orange tag" */>}}
-
-This is a {{* tag-outlined theme "theme tag" */>}}
-This is a {{* tag-outlined red "red tag" */>}}
-This is a {{* tag-outlined green "green tag" */>}}
-This is a {{* tag-outlined blue "blue tag" */>}}
-This is a {{* tag-outlined orange "orange tag" */>}}
-```
-
-This is a {{< tag theme "theme tag" >}}
-This is a {{< tag red "red tag" >}}
-This is a {{< tag green "green tag" >}}
-This is a {{< tag blue "blue tag" >}}
-This is a {{< tag orange "orange tag" >}}
-
-This is a {{< tag-outlined theme "theme tag" >}}
-This is a {{< tag-outlined red "red tag" >}}
-This is a {{< tag-outlined green "green tag" >}}
-This is a {{< tag-outlined blue "blue tag" >}}
-This is a {{< tag-outlined orange "orange tag" >}}
-
-## Progress bar
-
-```markdown
-{{* progress 999.99 theme "Name of progress bar" */>}}
-{{* progress 80 green "Name of progress bar" */>}}
-{{* progress 77.54 red "Name of progress bar" */>}}
-{{* progress 123.45 blue "Name of progress bar" */>}}
-{{* progress 11.11 orange "Name of progress bar" */>}}
-```
-
-{{< progress 999.99 theme "Name of progress bar" >}}
-{{< progress 80 green "Name of progress bar" >}}
-{{< progress 77.54 red "Name of progress bar" >}}
-{{< progress 123.45 blue "Name of progress bar" >}}
-{{< progress 11.11 orange "Name of progress bar" >}}
-
-## Accordion
-
-```markdown
-{{* accordion "Foods" open */>}}
-* Vegetables
-* Fruits
-* Fish
-{{* /accordion */>}}
-```
-
-{{< accordion "Foods" open >}}
-* Vegetables
-* Fruits
-* Fish
-{{< /accordion >}}
-
-## Divided Line
-
-```markdown
-{{* hr "some text" */>}}
-```
-
-{{< hr "some text" >}}
-
-## Hidden Text
-
-```markdown
-This is a {{* hidden-text "Hide text" blur */>}}
-
-This is a {{* hidden-text "Hide text" */>}}
-```
-
-This is a {{< hidden-text "Hide text" blur >}}
-
-This is a {{< hidden-text "Hide text" >}}
-
-
-```markdown
-{{* hidden blur */>}}
-> This is a hidden block
-{{* /hidden */>}}
-
-{{* hidden */>}}
-* Vegetables
-* Fruits
-* Fish
-{{* /hidden */>}}
-```
-
-{{< hidden blur >}}
-> This is a hidden block
-{{< /hidden >}}
-
-{{< hidden >}}
-* Vegetables
-* Fruits
-* Fish
-{{< /hidden >}}
-
-## Rating
-
-```markdown
-The paella dish I rate {{* rating 10 6*/>}}
-```
-
-The paella dish I rate {{< rating 10 6 >}}
-
-## Links Card
-
-```markdown
-{{* link-card name="hugo-theme-luna" desc="A simple, performance-first, SEO-friendly Hugo theme" link="https://github.com/Ice-Hazymoon/hugo-theme-luna" img="https://repository-images.githubusercontent.com/486781027/dc31a9ab-66d1-49b8-a225-4f85f2329f2e" */>}}
-
-{{* link-card name="hugo-theme-luna" desc="A simple, performance-first, SEO-friendly Hugo theme" link="https://github.com/Ice-Hazymoon/hugo-theme-luna" */>}}
-```
-
-{{< link-card name="hugo-theme-luna" desc="A simple, performance-first, SEO-friendly Hugo theme" link="https://github.com/Ice-Hazymoon/hugo-theme-luna" img="https://repository-images.githubusercontent.com/486781027/dc31a9ab-66d1-49b8-a225-4f85f2329f2e" >}}
-
-{{< link-card name="hugo-theme-luna" desc="A simple, performance-first, SEO-friendly Hugo theme" link="https://github.com/Ice-Hazymoon/hugo-theme-luna" >}}
-
-## Carousel
-
-```markdown
-{{* carousel "https://unsplash.it/1920/1080/?random=1" "https://unsplash.it/1920/1080/?random=2" "https://unsplash.it/1920/1080/?random=3" "https://unsplash.it/1920/1080/?random=4" */>}}
-
-{{* carousel "4.jpg" "7.jpg" "9.jpg" */>}}
-```
-
-{{< carousel "https://unsplash.it/1920/1080/?random=1" "https://unsplash.it/1920/1080/?random=2" "https://unsplash.it/1920/1080/?random=3" "https://unsplash.it/1920/1080/?random=4" >}}
-
-{{< carousel "1.jpg" "2.jpg" "3.jpg" >}}
-
-## Timeline
-
-```markdown
-{{* timeline "2018-01-01 Eat salada today" "2018-01-02 Eat paella today" "2018-01-03 Eat pizza today" */>}}
-```
-
-{{< timeline "2018-01-01 Eat salada today" "2018-01-02 Eat paella today" "2018-01-03 Eat pizza today" >}}
-
-## Gallery
-
-```markdown
-{{* gallery */>}}
-
-
-
-
-
-
-
-{{* /gallery */>}}
-```
-
-{{< gallery >}}
-
-
-
-
-
-
-
-{{< /gallery >}}
-
-## Tabs
-
-```markdown
-{{* tab-view */>}}
-
-{{* tab-panel name="中文" checked=true */>}}
-百合花(学名:Lilium)通称百合花,是百合目百合科的一属,为多年生草本球根植物,属内物种繁多,经常作为观赏植物。主要分布在亚洲东部、欧洲、北美洲等北半球温带地区,全球已发现有至少96个品种,其中5种产于台湾。近年更有不少经过人工杂交而产生的新品种,如OT百合、东方型百合、玫瑰百合等。百合属对猫来说有剧毒。
-{{* /tab-panel */>}}
-
-{{* tab-panel name="English" */>}}
-Lilium is a genus of herbaceous flowering plants growing from bulbs, all with large prominent flowers. They are the true lilies. Lilies are a group of flowering plants which are important in culture and literature in much of the world. Most species are native to the northern hemisphere and their range is temperate climates and extends into the subtropics. Many other plants have "lily" in their common names, but do not belong to the same genus and are therefore not true lilies.
-{{* /tab-panel */>}}
-
-{{* tab-panel name="Español" */>}}
-Las especies de Lilium, comúnmente llamadas azucenas o lirios, constituyen un género con alrededor de 110 integrantes que se incluye dentro de la familia de las liliáceas. Los lirios son herbáceas perennes de tallos erectos con numerosas hojas alternas, lineares a lance balas. Crecen a partir de bulbos formados por capas de escamas carnosas sin túnica.
-{{* /tab-panel */>}}
-
-{{* /tab-view */>}}
-```
-
-{{< tab-view >}}
-
-{{< tab-panel name="中文" checked=true >}}
-百合花(学名:Lilium)通称百合花,是百合目百合科的一属,为多年生草本球根植物,属内物种繁多,经常作为观赏植物。主要分布在亚洲东部、欧洲、北美洲等北半球温带地区,全球已发现有至少96个品种,其中5种产于台湾。近年更有不少经过人工杂交而产生的新品种,如OT百合、东方型百合、玫瑰百合等。百合属对猫来说有剧毒。
-{{< /tab-panel >}}
-
-{{< tab-panel name="English" >}}
-Lilium is a genus of herbaceous flowering plants growing from bulbs, all with large prominent flowers. They are the true lilies. Lilies are a group of flowering plants which are important in culture and literature in much of the world. Most species are native to the northern hemisphere and their range is temperate climates and extends into the subtropics. Many other plants have "lily" in their common names, but do not belong to the same genus and are therefore not true lilies.
-{{< /tab-panel >}}
-
-{{< tab-panel name="Español" >}}
-Las especies de Lilium, comúnmente llamadas azucenas o lirios, constituyen un género con alrededor de 110 integrantes que se incluye dentro de la familia de las liliáceas. Los lirios son herbáceas perennes de tallos erectos con numerosas hojas alternas, lineares a lance balas. Crecen a partir de bulbos formados por capas de escamas carnosas sin túnica.
-{{< /tab-panel >}}
-
-{{< /tab-view >}}
diff --git a/content/posts/Typography/cover.jpg b/content/posts/Typography/cover.jpg
deleted file mode 100644
index b2918d7..0000000
Binary files a/content/posts/Typography/cover.jpg and /dev/null differ
diff --git a/content/posts/Typography/index.md b/content/posts/Typography/index.md
deleted file mode 100644
index 2bb83fd..0000000
--- a/content/posts/Typography/index.md
+++ /dev/null
@@ -1,230 +0,0 @@
----
-title: "Typography"
-date: 2022-04-15T02:49:13+02:00
-slug: typography
-featured_image: cover.jpg
-draft: true
-tags:
- - English
-refs:
- - link: https://play.tailwindcss.com/uj1vGACRJA?layout=preview
----
-
-Until now, trying to style an article, document, or blog post with Tailwind has been a tedious task that required a keen eye for typography and a lot of complex custom CSS.
-
-
-
-By default, Tailwind removes all of the default browser styling from paragraphs, headings, lists and more. This ends up being really useful for building application UIs because you spend less time undoing user-agent styles, but when you _really are_ just trying to style some content that came from a rich-text editor in a CMS or a markdown file, it can be surprising and unintuitive.
-
-We get lots of complaints about it actually, with people regularly asking us things like:
-
-> Why is Tailwind removing the default styles on my `h1` elements? How do I disable this? What do you mean I lose all the other base styles too?
-
-We hear you, but we're not convinced that simply disabling our base styles is what you really want. You don't want to have to remove annoying margins every time you use a `p` element in a piece of your dashboard UI. And I doubt you really want your blog posts to use the user-agent styles either — you want them to look _awesome_, not awful.
-
-The `@tailwindcss/typography` plugin is our attempt to give you what you _actually_ want, without any of the downsides of doing something stupid like disabling our base styles.
-
-It adds a new `prose` class that you can slap on any block of vanilla HTML content and turn it into a beautiful, well-formatted document:
-
-```html {linenos=table,hl_lines=[8,"4-6"],linenostart=199,title="index.html"}
-` elements aren't given a child `` tag unless there are multiple paragraphs in the list item. That means I have to worry about styling that annoying situation too.
-
-- **For example, here's another nested list.**
-
- But this time with a second paragraph.
-
- - These list items won't have `
` tags
- - Because they are only one line each
-
-- **But in this second top-level list item, they will.**
-
- This is especially annoying because of the spacing on this paragraph.
-
- - As you can see here, because I've added a second line, this list item now has a `
` tag.
-
- This is the second line I'm talking about by the way.
-
- - Finally here's another list item so it's more like a list.
-
-- A closing list item, but with no nested list, because why not?
-
-And finally a sentence to close off this section.
-
-## There are other elements we need to style
-
-I almost forgot to mention links, like [this link to the Tailwind CSS website](https://tailwindcss.com). We almost made them blue but that's so yesterday, so we went with dark gray, feels edgier.
-
-We even included table styles, check it out:
-
-| Wrestler | Origin | Finisher |
-| ----------------------- | ------------ | ------------------ |
-| Bret "The Hitman" Hart | Calgary, AB | Sharpshooter |
-| Stone Cold Steve Austin | Austin, TX | Stone Cold Stunner |
-| Randy Savage | Sarasota, FL | Elbow Drop |
-| Vader | Boulder, CO | Vader Bomb |
-| Razor Ramon | Chuluota, FL | Razor's Edge |
-
-We also need to make sure inline code looks good, like if I wanted to talk about `` elements or tell you the good news about `@tailwindcss/typography`.
-
-### Sometimes I even use `code` in headings
-
-Even though it's probably a bad idea, and historically I've had a hard time making it look good. This _"wrap the code blocks in backticks"_ trick works pretty well though really.
-
-Another thing I've done in the past is put a `code` tag inside of a link, like if I wanted to tell you about the [`tailwindcss/docs`](https://github.com/tailwindcss/docs) repository. I don't love that there is an underline below the backticks but it is absolutely not worth the madness it would require to avoid it.
-
-#### We haven't used an `h4` yet
-
-But now we have. Please don't use `h5` or `h6` in your content, Medium only supports two heading levels for a reason, you animals. I honestly considered using a `before` pseudo-element to scream at you if you use an `h5` or `h6`.
-
-We don't style them at all out of the box because `h4` elements are already so small that they are the same size as the body copy. What are we supposed to do with an `h5`, make it _smaller_ than the body copy? No thanks.
-
-### We still need to think about stacked headings though.
-
-#### Let's make sure we don't screw that up with `h4` elements, either.
-
-Phew, with any luck we have styled the headings above this text and they look pretty good.
-
-Let's add a closing paragraph here so things end with a decently sized block of text. I can't explain why I want things to end that way but I have to assume it's because I think things will look weird or unbalanced if there is a heading too close to the end of the document.
-
-What I've written here is probably long enough, but adding this final sentence can't hurt.
-
-## LaTeX
-
-```TeX
-this is a inline katex: $ E={\sqrt {p^{2}c^{2}+m^{2}c^{4}}}=\gamma mc^{2} $
-
-$ E={\sqrt {p^{2}c^{2}+m^{2}c^{4}}}=\gamma mc^{2} $
-
-$$ E_{0}=mc^{2} $$
-
-\\[3 < 4\\]
-
-\begin{align}
- p(v_i=1|\mathbf{h}) & = \sigma\left(\sum_j w_{ij}h_j + b_i\right) \\
- p(h_j=1|\mathbf{v}) & = \sigma\left(\sum_i w_{ij}v_i + c_j\right)
-\end{align}
-```
-
-this is a inline katex: $ E={\sqrt {p^{2}c^{2}+m^{2}c^{4}}}=\gamma mc^{2} $
-
-$$ E_{0}=mc^{2} $$
-
-\\[3 < 4\\]
-
-\begin{align}
- \nonumber p(v_i=1|\mathbf{h}) & = \sigma\left(\sum_j w_{ij}h_j + b_i\right) \\
- p(h_j=1|\mathbf{v}) & = \sigma\left(\sum_i w_{ij}v_i + c_j\right)
-\end{align}
diff --git a/flake.lock b/flake.lock
new file mode 100644
index 0000000..3534012
--- /dev/null
+++ b/flake.lock
@@ -0,0 +1,77 @@
+{
+ "nodes": {
+ "hugo-coder": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1740773296,
+ "narHash": "sha256-ANflhqFcTh9url224SUACZoC6jGOS3HadZHSnFM2un4=",
+ "owner": "luizdepra",
+ "repo": "hugo-coder",
+ "rev": "6bc00595434affd85e9d55af98779460de6fb1cd",
+ "type": "github"
+ },
+ "original": {
+ "owner": "luizdepra",
+ "repo": "hugo-coder",
+ "type": "github"
+ }
+ },
+ "nixpkgs": {
+ "locked": {
+ "lastModified": 1745507211,
+ "narHash": "sha256-nSEpu76pCCXnZuwB0nsPBl1Nsdw+lxiYNWT5P3tZ6bk=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "db6c0e37904638908e8fef9a950b74084ca06ae6",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "root": {
+ "inputs": {
+ "hugo-coder": "hugo-coder",
+ "nixpkgs": "nixpkgs",
+ "utils": "utils"
+ }
+ },
+ "systems": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
+ },
+ "utils": {
+ "inputs": {
+ "systems": "systems"
+ },
+ "locked": {
+ "lastModified": 1731533236,
+ "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ }
+ },
+ "root": "root",
+ "version": 7
+}
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..8dd8054
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,66 @@
+{
+ description = "Personal website for Chris Portela";
+
+ inputs = {
+ nixpkgs.url = "github:NixOS/nixpkgs";
+ utils.url = "github:numtide/flake-utils";
+ hugo-coder = {
+ url = "github:luizdepra/hugo-coder";
+ flake = false;
+ };
+ hugo-theme-doks = {
+ url = "github:thuliteio/doks";
+ flake = false;
+ };
+ };
+
+ outputs = inputs@{ self, nixpkgs, utils, ... }: utils.lib.eachSystem [
+ utils.lib.system.x86_64-darwin
+ utils.lib.system.x86_64-linux
+ utils.lib.system.aarch64-darwin
+ utils.lib.system.aarch64-linux
+ ] (system:
+ let
+ pkgs = import nixpkgs {
+ inherit system;
+ };
+ in
+ rec {
+
+ packages.website = pkgs.stdenv.mkDerivation {
+ name = "website";
+ src = self;
+ buildInputs = with pkgs; [
+ git
+ nodejs
+ nodePackages.prettier
+ hugo
+ ];
+ buildPhase = ''
+ mkdir -p themes
+ ln -s ${inputs.hugo-theme-doks} themes/doks
+ sed -i -e 's/enableGitInfo = true/enableGitInfo = false/' config.toml
+ ${pkgs.hugo}/bin/hugo
+ ${pkgs.nodePackages.prettier}/bin/prettier -w public '!**/*.{js,css}'
+ '';
+ installPhase = "cp -r public $out";
+ };
+
+ defaultPackage = self.packages.${system}.website;
+
+ apps = rec {
+ hugo = utils.lib.mkApp { drv = pkgs.hugo; };
+ default = hugo;
+ };
+
+ devShell = pkgs.mkShell {
+ buildInputs = with pkgs; [
+ git
+ nodejs
+ nodePackages.prettier
+ hugo
+ ];
+ };
+ }
+ );
+}
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..d519ea2
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,59 @@
+{{ define "main" }}
+
+{{ end }}
+
+{{ define "sidebar-prefooter" }}
+ {{ if site.Params.doks.backgroundDots -}}
+
+ {{ end -}}
+ {{ if eq $.Site.Language.LanguageName "English" }}
+
+
+
+
+
Update content
+
Edit content/_index.md
to see this page change.
+
+
+
Add new content
+
Add Markdown files to content
to create new pages.
+
+
+
Configure your site
+
Edit your config in config/_default/params.toml
.
+
+
+
Read the docs
+
Learn more in the Docs.
+
+
+
+
+ {{ end }}
+{{ end }}
+
+{{ define "sidebar-footer" }}
+{{ if site.Params.doks.sectionFooter -}}
+
+{{ end -}}
+{{ end }}
diff --git a/layouts/partials/footer/script-footer-custom.html b/layouts/partials/footer/script-footer-custom.html
new file mode 100644
index 0000000..4411a70
--- /dev/null
+++ b/layouts/partials/footer/script-footer-custom.html
@@ -0,0 +1,13 @@
+{{/* Put your custom tags here */}}
+
+{{/* EXAMPLE - only load script for production
+{{ if eq (hugo.Environment) "production" -}}
+ {{ partial "footer/esbuild" (dict "src" "js/instantpage.js" "load" "async" "transpile" false) -}}
+{{ end -}}
+*/}}
+
+{{/* EXAMPLE - only load script for a page type e.g. contact or gallery
+{{ if eq .Type "gallery" -}}
+ {{ partial "footer/esbuild" (dict "src" "js/gallery.js" "load" "async" "transpile" false) -}}
+{{ end -}}
+*/}}
diff --git a/layouts/partials/head/custom-head.html b/layouts/partials/head/custom-head.html
new file mode 100644
index 0000000..21e7bea
--- /dev/null
+++ b/layouts/partials/head/custom-head.html
@@ -0,0 +1 @@
+
diff --git a/layouts/partials/head/script-header.html b/layouts/partials/head/script-header.html
new file mode 100644
index 0000000..aba9802
--- /dev/null
+++ b/layouts/partials/head/script-header.html
@@ -0,0 +1 @@
+
diff --git a/netlify.toml b/netlify.toml
new file mode 100644
index 0000000..fca7810
--- /dev/null
+++ b/netlify.toml
@@ -0,0 +1,49 @@
+[build]
+ publish = "public"
+ functions = "functions"
+
+[build.environment]
+ NODE_VERSION = "20.11.0"
+ NPM_VERSION = "10.2.4"
+ HUGO_VERSION = "0.125.1"
+
+[context.production]
+ command = "npm run build"
+
+[context.deploy-preview]
+ command = "npm run build"
+
+[context.branch-deploy]
+ command = "npm run build"
+
+[context.next]
+ command = "npm run build"
+
+[context.next.environment]
+ HUGO_ENV = "next"
+
+[dev]
+ framework = "#custom"
+ command = "npm run dev"
+ targetPort = 1313
+ port = 8888
+ publish = "public"
+ autoLaunch = false
+
+# Redirects and rewrites — https://docs.netlify.com/routing/redirects/#syntax-for-the-netlify-configuration-file
+
+# Custom headers — https://docs.netlify.com/routing/headers/#syntax-for-the-netlify-configuration-file
+[[headers]]
+ for = "/*"
+ [headers.values]
+ Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
+ X-Content-Type-Options = "nosniff"
+ X-XSS-Protection = "1; mode=block"
+ Content-Security-Policy = "default-src 'self'; manifest-src 'self'; connect-src 'self'; font-src 'self'; img-src 'self' https://avatars.githubusercontent.com data:; script-src 'self' 'nonce-dXNlcj0iaGVsbG8iLGRvbWFpbj0iaGVua3ZlcmxpbmRlLmNvbSIsZG9jdW1lbnQud3JpdGUodXNlcisiQCIrZG9tYWluKTs=' 'sha256-aWZ3y/RxbBYKHXH0z8+8ljrHG1mSBvyzSfxSMjBSaXk='; style-src 'self'"
+ X-Frame-Options = "SAMEORIGIN"
+ Referrer-Policy = "strict-origin"
+ Permissions-Policy = "geolocation=(self), microphone=(), camera=()"
+ Cache-Control= '''
+ public,
+ max-age=31536000'''
+ Access-Control-Allow-Origin = "*"
diff --git a/package.json b/package.json
index 34c9325..ea1674b 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,29 @@
{
+ "name": "thulite-project",
+ "version": "0.0.0",
+ "description": "Doks theme",
+ "author": "Thulite",
+ "license": "MIT",
+ "scripts": {
+ "create": "hugo new",
+ "dev": "hugo server --disableFastRender --noHTTPCache",
+ "format": "prettier **/** -w -c",
+ "build": "hugo --minify --gc",
+ "preview": "vite preview --outDir public"
+ },
"dependencies": {
- "postcss-cli": "^11.0.0"
+ "@thulite/doks-core": "^1.8.0",
+ "@thulite/images": "^3.3.0",
+ "@thulite/inline-svg": "^1.1.0",
+ "@thulite/seo": "^2.4.1",
+ "@tabler/icons": "^3.12.0",
+ "thulite": "^2.5.0"
+ },
+ "devDependencies": {
+ "prettier": "^3.3.3",
+ "vite": "^5.4.2"
+ },
+ "engines": {
+ "node": ">=20.11.0"
}
-}
+}
\ No newline at end of file
diff --git a/static/.gitkeep b/static/.gitkeep
new file mode 100644
index 0000000..e69de29