Website generation with Couscous

This commit is contained in:
Milos Stojanovic
2019-06-18 14:45:53 +02:00
parent 6e843f1382
commit b4cb1b1dad

View File

@@ -93,8 +93,18 @@
<section class="col-sm-offset-3 col-lg-offset-2 col-sm-9 col-lg-10">
<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>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' =&gt; [
'handler' =&gt; '\Filegator\Services\View\Adapters\Vuejs',
'config' =&gt; [
'add_to_head' =&gt; '&lt;meta name="author" content="something"&gt;',
'add_to_body' =&gt; '&lt;script src="http://example.com/analytics.js"&gt;&lt;/script&gt;',
],
],</code></pre>
<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
$primary: #34B891;
$primary-invert: findColorInvert($primary);