Hello!
I am having a strange issue when it comes to loading svgs in my code.
I am trying to use
<div>
... other content
{{ partial "svg/Tools-v2.svg"}}
</div>
<div>
... other content
{{ partial "svg/Optimization.svg"}}
</div>
<div>
... other content
{{ partial "svg/Gameplay-v2.svg"}}
</div>
to load icons to my page however whenever I run the site it loads the first icon inside all the partials instead of the correct icon in each partial. I thought it was a syntax error at first but after thoroughly checking im not sure what could be causing this issue.
Here is my code:
<div class="row row-removewidth justify-content-center">
<div class="col-fluid serviceitem serviceitem-left">
<div class="row">{{ partial "svg/Tools-v2.svg"}}
</div>
<div class="row rowpadded"><h3>TOOLS</h3></div>
<div class="row rowpadded">
<ul>
<li>Lorem ipsum dolor sit amet consectetur.</li>
<li>Tortor netus lectus nulla etiam pellentesque libero.</li>
<li>Enim accumsan convallis porttitor faucibus sociis laoreet.</li>
</ul>
</div>
</div>
<div class="col-fluid serviceitem serviceitem-center">
<div class="row rowmargin">{{ partial "svg/Optimization.svg"}}</div>
<div class="row rowpadded"><h3>OPTIMIZATION</h3></div>
<div class="row rowpadded">
<ul>
<li>Lorem ipsum dolor sit amet consectetur.</li>
<li>Tortor netus lectus nulla etiam pellentesque libero.</li>
<li>Enim accumsan convallis porttitor faucibus sociis laoreet.</li>
</ul>
</div>
</div>
<div class="col-fluid serviceitem serviceitem-center">
<div class="row">{{ partial "svg/Gameplay-v2.svg"}}</div>
<div class="row rowpadded"><h3>GAMEPLAY</h3></div>
<div class="row rowpadded">
<ul>
<li>Lorem ipsum dolor sit amet consectetur.</li>
<li>Tortor netus lectus nulla etiam pellentesque libero.</li>
<li>Enim accumsan convallis porttitor faucibus sociis laoreet.</li>
</ul>
</div>
</div>
<div class="col-fluid serviceitem serviceitem-right">
<div class="row">{{ partial "svg/engine-icon.svg"}}</div>
<div class="row rowpadded"><h3>ENGINE</h3></div>
<div class="row rowpadded">
<ul>
<li>Lorem ipsum dolor sit amet consectetur.</li>
<li>Tortor netus lectus nulla etiam pellentesque libero.</li>
<li>Enim accumsan convallis porttitor faucibus sociis laoreet.</li>
</ul>
</div>
</div>
</div>