Edit folder structure and webpack configuration
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
@ -5,7 +5,7 @@ return [
|
||||||
'home' => 'gallery',
|
'home' => 'gallery',
|
||||||
'panel' => [
|
'panel' => [
|
||||||
'language' => 'fr',
|
'language' => 'fr',
|
||||||
'css' => 'assets/build/panel.css'
|
'css' => 'build/panel.css'
|
||||||
],
|
],
|
||||||
// Sitemapper plugin options
|
// Sitemapper plugin options
|
||||||
'kirbyzone.sitemapper' => [
|
'kirbyzone.sitemapper' => [
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<link rel="icon" sizes="any" href="assets/favicon/julien-monnerie-favicon.ico'">
|
<link rel="icon" sizes="any" href="favicon/julien-monnerie-favicon.ico'">
|
||||||
<link rel="icon" type="image/svg+xml" href="assets/favicon/julien-monnerie-favicon.svg">
|
<link rel="icon" type="image/svg+xml" href="favicon/julien-monnerie-favicon.svg">
|
||||||
<link rel="apple-touch-icon" href="assets/favicon/julien-monnerie-apple-touch-icon.png">
|
<link rel="apple-touch-icon" href="favicon/julien-monnerie-apple-touch-icon.png">
|
||||||
<link rel="manifest" href="assets/favicon/julien-monnerie.webmanifest">
|
<link rel="manifest" href="favicon/julien-monnerie.webmanifest">
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{# Basic metadata #}
|
{# Basic metadata #}
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<html lang="fr">
|
|
||||||
|
|
||||||
{# Schema #}
|
{# Schema #}
|
||||||
<style itemscope itemtype="https://schema.org/WebSite" itemref="schema_name schema_description schema_image"></style>
|
<style itemscope itemtype="https://schema.org/WebSite" itemref="schema_name schema_description schema_image"></style>
|
||||||
|
|
|
@ -9,12 +9,12 @@
|
||||||
|
|
||||||
{# CSS #}
|
{# CSS #}
|
||||||
{% block stylesheets %}
|
{% block stylesheets %}
|
||||||
<link rel="stylesheet" href="{{ asset('assets/build/main.css') }}">
|
<link rel="stylesheet" href="build/main.css">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{# JavaScript #}
|
{# JavaScript #}
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{ asset('assets/build/app.js') }}" defer></script>
|
<script src="build/app.js" defer></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{# Matomo #}
|
{# Matomo #}
|
||||||
|
|
|
@ -10,16 +10,16 @@ Encore
|
||||||
// PATHS
|
// PATHS
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
.setOutputPath('public/assets/build/')
|
.setOutputPath('public/build/')
|
||||||
.setPublicPath('/assets/build')
|
.setPublicPath('/build')
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// ENTRIES
|
// ENTRIES
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
.addEntry('app', './public/assets/js/app.js')
|
.addEntry('app', './assets/js/app.js')
|
||||||
.addStyleEntry('main', './public/assets/css/main.scss')
|
.addStyleEntry('main', './assets/css/main.scss')
|
||||||
.addStyleEntry('panel', './public/assets/css/panel.scss')
|
.addStyleEntry('panel', './assets/css/panel.scss')
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// FEATURES
|
// FEATURES
|
||||||
|
|