Compare commits

...
Sign in to create a new pull request.

2 commits

8 changed files with 42 additions and 7 deletions

2
.gitignore vendored
View file

@ -189,3 +189,5 @@ Icon
Network Trash Folder Network Trash Folder
Temporary Items Temporary Items
.apdisk .apdisk
/.quarto/

View file

@ -7,3 +7,6 @@ overrides:
- files: "*.gotmpl" - files: "*.gotmpl"
options: options:
parser: "go-template" parser: "go-template"
- files: "*.qmd"
options:
parser: "markdown"

View file

@ -9,5 +9,5 @@
} }
} }
}, },
"file_types": { "HTML": ["gotmpl"] } "file_types": { "HTML": ["gotmpl"], "Markdown": ["qmd"] }
} }

13
_quarto.yml Normal file
View file

@ -0,0 +1,13 @@
project:
type: hugo
preview:
serve:
cmd: "hugo server --port {port} --bind 0.0.0.0 --navigateToChanged"
ready: "Web Server is available at"
format:
hugo-md:
code-fold: true
execute:
warning: false

View file

@ -289,6 +289,15 @@ article > p {
line-height: 1.5em; line-height: 1.5em;
} }
h2#references ~ p {
font-size: 1rem;
text-justify: unset;
text-align: left;
hyphens: none;
line-height: 1rem;
text-indent: 2ch hanging;
}
article h1 + p, article h1 + p,
article h2 + p, article h2 + p,
article h3 + p, article h3 + p,
@ -337,6 +346,10 @@ figure:has(blockquote) > figcaption {
font-size: 80%; font-size: 80%;
} }
figure > img {
max-width: 100%;
}
footer { footer {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View file

@ -1,6 +1,7 @@
baseURL = "https://millironx.com" baseURL = "https://millironx.com"
languageCode = "en-us" languageCode = "en-us"
title = "Milliron X" title = "Milliron X"
ignoreFiles = ["\\.qmd$", "\\.ipynb$", "\\.py$"]
[pagination] [pagination]
pagerSize = 5 pagerSize = 5
@ -51,6 +52,9 @@ notAlternative = "true"
[markup.goldmark.parser.attribute] [markup.goldmark.parser.attribute]
block = true block = true
[markup.goldmark.renderer]
unsafe = true
[markup.goldmark.renderHooks] [markup.goldmark.renderHooks]
[markup.goldmark.renderHooks.link] [markup.goldmark.renderHooks.link]

8
flake.lock generated
View file

@ -20,16 +20,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1737597992, "lastModified": 1762756533,
"narHash": "sha256-FECKBxkd+w5I/fhsquthDiw/r/MdCpqmKikBU9yQGug=", "narHash": "sha256-HiRDeUOD1VLklHeOmaKDzf+8Hb7vSWPVFcWwaTrpm+U=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d0bb4699177f691c8e558b32b3bdc38bc112f76f", "rev": "c2448301fb856e351aab33e64c33a3fc8bcf637d",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-unstable-small", "ref": "nixos-25.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View file

@ -1,13 +1,13 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small"; nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
}; };
outputs = { self, nixpkgs, flake-utils }: outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system: flake-utils.lib.eachDefaultSystem (system:
let let
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; };
buildInputs = with pkgs; [ hugo nodejs ]; buildInputs = with pkgs; [ hugo nodejs quarto julia-bin ];
in with pkgs; { in with pkgs; {
devShells.default = mkShell { inherit buildInputs; }; devShells.default = mkShell { inherit buildInputs; };
packages.default = stdenvNoCC.mkDerivation { packages.default = stdenvNoCC.mkDerivation {