Sha256: e782ca9e2044bff3fa81a944a8e5fa27413ccd89d92f377c608969200f98b4e5

Contents?: true

Size: 976 Bytes

Versions: 5

Compression:

Stored size: 976 Bytes

Contents

---
svgname: square
svgclass: hello
---
Hello world
<div id="base">
{% svg files/square.svg %}
</div>

<div id="height">
{% svg files/square.svg  width=24 %}
{% svg files/square.svg  width=24 height=48 %}
{% svg files/square.svg  width=24 height="" %}
</div>
<div id="attributes">
  {% svg files/square.svg  role="navigation" data-foo="bar" fill="#ffffff" stroke=#000000 %}
</div>
<div id="path">
  <label>Resolve relative and absolute paths to site's source</label>
  {% svg files/square.svg %}
  {% svg /files/square.svg %}
</div>

<div id="jail">
  <label>Resolve relative and absolute paths to site's source</label>
  {% svg /../files/square.svg %}
  {% svg ../files/square.svg %}
</div>

<div id="interpret">
  <label>Interpret embedded variables</label>
  {% svg /files/{{page.svgname}}.svg %}
  {% svg /files/square.svg id="name-{{page.svgname}}" class="class-{{page.svgclass}}" %}
</div>

<div id="optimize">
  {% svg /files/{{page.svgname}}.svg data-foo="" %}
</div>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
jekyll-inline-svg-1.1.2 spec/fixtures/index.html
jekyll-inline-external-svg-1.1.1 spec/fixtures/index.html
jekyll-inline-svg-1.1.1 spec/fixtures/index.html
jekyll-inline-svg-1.1.0 spec/fixtures/index.html
jekyll-inline-svg-1.0.1 spec/fixtures/index.html