mirror of
https://github.com/filegator/filegator.git
synced 2025-08-08 16:46:34 +02:00
Website generation with Couscous
This commit is contained in:
@@ -93,8 +93,18 @@
|
|||||||
<section class="col-sm-offset-3 col-lg-offset-2 col-sm-9 col-lg-10">
|
<section class="col-sm-offset-3 col-lg-offset-2 col-sm-9 col-lg-10">
|
||||||
<h2 id="basic">Basic</h2>
|
<h2 id="basic">Basic</h2>
|
||||||
<p>Edit <code>configuration.php</code> file to change basic things like logo, title, language and upload restrictions.</p>
|
<p>Edit <code>configuration.php</code> file to change basic things like logo, title, language and upload restrictions.</p>
|
||||||
|
<p>NOTE: if you've made a mistake in configuration file, forgot to close a quote, the script will throw an error. Please use provided default <code>configuration_sample.php</code> to verify this.</p>
|
||||||
|
<h2 id="additional-html">Additional HTML</h2>
|
||||||
|
<p>You can add additional html to the head and body like this:</p>
|
||||||
|
<pre><code> 'Filegator\Services\View\ViewInterface' => [
|
||||||
|
'handler' => '\Filegator\Services\View\Adapters\Vuejs',
|
||||||
|
'config' => [
|
||||||
|
'add_to_head' => '<meta name="author" content="something">',
|
||||||
|
'add_to_body' => '<script src="http://example.com/analytics.js"></script>',
|
||||||
|
],
|
||||||
|
],</code></pre>
|
||||||
<h2 id="frontend-tweaks">Frontend tweaks</h2>
|
<h2 id="frontend-tweaks">Frontend tweaks</h2>
|
||||||
<p>You can change default color scheme and other options in <code>/frontend/App.vue</code> and recompile.</p>
|
<p>To change default color scheme and other options, edit <code>/frontend/App.vue</code> and recompile with npm.</p>
|
||||||
<pre><code>// Primary color
|
<pre><code>// Primary color
|
||||||
$primary: #34B891;
|
$primary: #34B891;
|
||||||
$primary-invert: findColorInvert($primary);
|
$primary-invert: findColorInvert($primary);
|
||||||
|
Reference in New Issue
Block a user