Initial commit from Sculpin skeleton
This commit is contained in:
commit
9fb8e9c467
17
.editorconfig
Normal file
17
.editorconfig
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# This file is used by editors and IDEs to unify coding standards
|
||||||
|
# @see http://EditorConfig.org
|
||||||
|
# @standards PHP: http://www.php-fig.org/psr/psr-2/
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# Default configuration (applies to all file types)
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
# Markdown customizations
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
/output_*/
|
||||||
|
/vendor/
|
3
app/config/sculpin_kernel.yml
Normal file
3
app/config/sculpin_kernel.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
sculpin_content_types:
|
||||||
|
posts:
|
||||||
|
enabled: false
|
2
app/config/sculpin_site.yml
Normal file
2
app/config/sculpin_site.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
name: 'My New Sculpin Site'
|
||||||
|
locale: en
|
3
app/config/sculpin_site_prod.yml
Normal file
3
app/config/sculpin_site_prod.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
imports:
|
||||||
|
- sculpin_site.yml
|
21
composer.json
Normal file
21
composer.json
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
"name": "opdavies/sculpin-skeleton",
|
||||||
|
"description": "A skeleton Sculpin site.",
|
||||||
|
"license": "MIT",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Oliver Davies",
|
||||||
|
"email": "oliver@oliverdavies.uk",
|
||||||
|
"homepage": "https://www.oliverdavies.uk"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"require": {
|
||||||
|
"sculpin/sculpin": "^3.0"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"dev": "composer run-script generate",
|
||||||
|
"generate": "sculpin generate --clean --no-interaction",
|
||||||
|
"prod": "composer run-script generate -- --env prod",
|
||||||
|
"watch": "composer run-script --timeout=0 generate -- --server --watch"
|
||||||
|
}
|
||||||
|
}
|
3567
composer.lock
generated
Normal file
3567
composer.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
12
source/_layouts/app.html.twig
Normal file
12
source/_layouts/app.html.twig
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<!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>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{% block body %}{% endblock %}
|
||||||
|
</body>
|
||||||
|
</html>
|
5
source/_layouts/default.html.twig
Normal file
5
source/_layouts/default.html.twig
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{% extends 'app' %}
|
||||||
|
|
||||||
|
{% block body %}
|
||||||
|
{% block content %}{% endblock %}
|
||||||
|
{% endblock %}
|
4
source/index.md
Normal file
4
source/index.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
layout: default
|
||||||
|
---
|
||||||
|
Hello, World!
|
Loading…
Reference in a new issue