Обновлен Sculpin
This commit is contained in:
parent
c9cc92107e
commit
f9ceb23b65
2
Makefile
2
Makefile
@ -5,7 +5,7 @@ build-assets:
|
|||||||
./tools/npm run build
|
./tools/npm run build
|
||||||
|
|
||||||
build-site:
|
build-site:
|
||||||
./tools/sculpin generate --clean --env=dev --no-interaction
|
./tools/sculpin generate --clean --env=dev --no-interaction -vvv
|
||||||
|
|
||||||
build: build-site build-assets
|
build: build-site build-assets
|
||||||
|
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Homepage\HtmlPrettierBundle\HtmlPrettierBundle;
|
use Homepage\HtmlPrettierBundle\HtmlPrettierBundle;
|
||||||
use Nickpeirson\Sculpin\Bundle\SitemapBundle\SculpinSitemapBundle;
|
//use Nickpeirson\Sculpin\Bundle\SitemapBundle\SculpinSitemapBundle;
|
||||||
use Sculpin\Bundle\SculpinBundle\HttpKernel\AbstractKernel;
|
use Sculpin\Bundle\SculpinBundle\HttpKernel\AbstractKernel;
|
||||||
|
|
||||||
class SculpinKernel extends AbstractKernel
|
class SculpinKernel extends AbstractKernel
|
||||||
{
|
{
|
||||||
protected function getAdditionalSculpinBundles()
|
protected function getAdditionalSculpinBundles(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
SculpinSitemapBundle::class,
|
// SculpinSitemapBundle::class,
|
||||||
HtmlPrettierBundle::class,
|
HtmlPrettierBundle::class,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,16 @@
|
|||||||
sculpin:
|
sculpin:
|
||||||
ignore:
|
ignore:
|
||||||
- _assets/
|
- _assets/
|
||||||
|
|
||||||
|
sculpin_content_types:
|
||||||
|
posts:
|
||||||
|
enabled: false
|
||||||
|
albums:
|
||||||
|
type: path
|
||||||
|
path: _albums
|
||||||
|
singular_name: album
|
||||||
|
layout: internal
|
||||||
|
permalink: albums/:basename/
|
||||||
|
enabled: true
|
||||||
|
taxonomies:
|
||||||
|
- tags
|
||||||
|
@ -6,5 +6,4 @@ use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|||||||
|
|
||||||
class HtmlPrettierBundle extends Bundle
|
class HtmlPrettierBundle extends Bundle
|
||||||
{
|
{
|
||||||
public const class_name = __CLASS__;
|
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
homepage.html_prettier:
|
homepage.html_prettier:
|
||||||
class: \Homepage\HtmlPrettierBundle\HtmlPrettier
|
class: \Homepage\HtmlPrettierBundle\HtmlPrettier
|
||||||
tags:
|
tags:
|
||||||
- { name: kernel.event_subscriber }
|
- { name: kernel.event_subscriber }
|
||||||
|
public: yes
|
||||||
|
@ -11,10 +11,9 @@
|
|||||||
"require": {
|
"require": {
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"nickpeirson/sculpin-sitemap-bundle": "^0.1.1",
|
|
||||||
"sculpin/sculpin": "dev-develop",
|
|
||||||
"gajus/dindent": "^2.0",
|
"gajus/dindent": "^2.0",
|
||||||
"friendsofphp/php-cs-fixer": "^2.12"
|
"friendsofphp/php-cs-fixer": "^2.12",
|
||||||
|
"sculpin/sculpin": "3.0.0-rc1"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
645
composer.lock
generated
645
composer.lock
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user