My personal blog hauleth.dev
blog
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Include syntax colouring CSS only if there is anything to colour

+9 -7
+2 -2
flake.lock
··· 21 21 "nixpkgs": { 22 22 "locked": { 23 23 "lastModified": 0, 24 - "narHash": "sha256-cnL5WWn/xkZoyH/03NNUS7QgW5vI7D1i74g48qplCvg=", 25 - "path": "/nix/store/h15y13p2w17dhpiyh8pk42v1k4c38a0h-source", 24 + "narHash": "sha256-yEJmtoFu4cJre1NuU4fb8q57Oux+NTbocnALtJ64aEI=", 25 + "path": "/nix/store/9ja8k3j7nk0xhicz1cvswzl7kjs1rj06-source", 26 26 "type": "path" 27 27 }, 28 28 "original": {
+4 -3
sass/_post.scss
··· 1 1 @import "variables"; 2 2 3 3 .post { 4 + position: relative; 4 5 width: 100%; 5 6 text-align: justify; 6 - text-wrap: pretty; 7 + text-wrap: stable; 7 8 hyphens: auto; 8 9 hyphenate-limit-chars: 10; 9 10 margin: 20px auto; ··· 175 176 .footnote-definition { 176 177 @media (min-width: #{$tablet-max-width + 1px}) { 177 178 position: absolute; 178 - left: 105%; 179 + right: calc(-12vw - 3em); 179 180 180 - width: 10vw; 181 + width: 12vw; 181 182 182 183 margin-top: -7rem; 183 184 }
-1
static/_headers
··· 3 3 X-Frame-Options: DENY 4 4 X-XSS-Protection: 1; mode=block 5 5 X-Clacks-Overhead: GNU Terry Pratchet 6 - X-Clacks-Overhead: GNU Joe Armstrong 7 6 Content-Security-Policy: default-src 'self'; script-src 'self'; connect-src 'self'; img-src 'self'; frame-src 'none'; frame-ancestors 'none'; form-action 'none'; base-uri 'self'; 8 7 Permissions-Policy: accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), cross-origin-isolated=(), display-capture=(), document-domain=(), encrypted-media=(), execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(), geolocation=(), gyroscope=(), keyboard-map=(), magnetometer=(), microphone=(), midi=(), navigation-override=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), sync-xhr=(), usb=(), web-share=(), xr-spatial-tracking=(), clipboard-read=(), clipboard-write=(), gamepad=(), speaker-selection=() 9 8 Referrer-Policy: strict-origin-when-cross-origin
+3 -1
templates/index.html
··· 49 49 50 50 {% block css %} 51 51 <link rel="stylesheet" type="text/css" href="/style.css" /> 52 - <link rel="stylesheet" type="text/css" href="/syntax-theme.css" /> 52 + {% if page.content and page.content is containing("data-lang") -%} 53 + <link rel="stylesheet" type="text/css" href="/syntax-theme.css" /> 54 + {% endif %} 53 55 {% if config.extra.theme_color != "orange" -%} 54 56 {% set color = "/color/" ~ config.extra.theme_color ~ ".css" -%} 55 57 <link rel="stylesheet" type="text/css" href="{{ color }}" />