Add Webpack page

This commit is contained in:
Jeremy Thomas
2018-07-14 18:38:27 +01:00
parent 0efd856f52
commit 884d887f44
15 changed files with 482 additions and 44 deletions

View File

@@ -1,6 +1,6 @@
{% capture scss_bulma %}
@charset "utf-8";
@import "{{ include.path }}/bulma/bulma.sass";
@import "{{ include.path }}";
{% endcapture %}
{% capture step_3 %}
@@ -19,9 +19,32 @@
</div>
{% endcapture %}
{% capture step_3_bis %}
<div class="content">
<p>
Inside the same <code>src</code> folder, add a file called <code>mystyles.scss</code>:
</p>
</div>
{% highlight scss %}{{ scss_bulma }}{% endhighlight %}
<div class="content">
<p>
Make sure to write the correct path to the <code>bulma</code> folder.
</p>
</div>
{% endcapture %}
{% assign step_title = ". Create a Sass file" | prepend: include.number %}
{% include components/step.html
title=step_title
content=step_3
%}
{% if include.bis == true %}
{% include components/step.html
title=step_title
content=step_3_bis
%}
{% else %}
{% include components/step.html
title=step_title
content=step_3
%}
{% endif %}