Initial commit

This commit is contained in:
Oliver Davies 2024-02-06 08:00:00 +00:00
commit ccfd866f59
14 changed files with 3732 additions and 0 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use flake

18
.gitignore vendored Normal file
View file

@ -0,0 +1,18 @@
/.phpunit.result.cache
/output_*/
/vendor/
/.direnv/
/source/build/*
!/source/build/.keep
# Devenv
.devenv*
devenv.local.nix
# direnv
.direnv
# pre-commit
.pre-commit-config.yaml

12
.tmux-sessionizer Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
export PATH="${PATH}:./vendor"
tmux new-window -dn shell
tmux new-window -dn server
tmux send-keys -t server "sculpin generate --server --watch" Enter
xdg-open http://localhost:8000
nvim

View file

@ -0,0 +1,3 @@
sculpin_content_types:
posts:
enabled: false

View file

@ -0,0 +1,2 @@
name: 'My New Sculpin Site'
locale: en

View file

@ -0,0 +1,2 @@
imports:
- sculpin_site.yml

10
composer.json Normal file
View file

@ -0,0 +1,10 @@
{
"require": {
"sculpin/sculpin": "^3.0"
},
"config": {
"allow-plugins": {
"sculpin/sculpin-theme-composer-plugin": true
}
}
}

3607
composer.lock generated Normal file

File diff suppressed because it is too large Load diff

27
flake.lock generated Normal file
View file

@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1740828860,
"narHash": "sha256-cjbHI+zUzK5CPsQZqMhE3npTyYFt9tJ3+ohcfaOF/WM=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "303bd8071377433a2d8f76e684ec773d70c5b642",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

22
flake.nix Normal file
View file

@ -0,0 +1,22 @@
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
outputs =
{ nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in
{
devShells.${system}.default =
with pkgs;
mkShell {
buildInputs = [
php83
php83Packages.composer
];
};
formatters.${system} = pkgs.nixfmt-rfc-style;
};
}

0
source/_includes/.keep Normal file
View file

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="{{ site.locale|default('en') }}">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ site.name|default('Sculpin Skeleton') }}</title>
<link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<div class="container">
{% block content_wrapper %}
<h1>{{ page.title }}</h1>
{% block content %}{% endblock %}
{% endblock %}
</div>
</body>
</html>

5
source/css/styles.css Normal file
View file

@ -0,0 +1,5 @@
.container {
margin: 0 auto;
max-width: 768px;
padding: 0 1rem;
}

4
source/index.md Normal file
View file

@ -0,0 +1,4 @@
---
layout: base
title: Hello, World!
---