Skip to content

Commit c7824b8

Browse files
committed
Fix meta
1 parent 799bcd0 commit c7824b8

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

_includes/collections/base.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -395,19 +395,21 @@ <h2 class="element-name">
395395
<div id="meta-example-1" class="example">
396396
<p class="example-label">
397397
<strong>Example:</strong>
398-
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#">Copy</a>
398+
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#meta-example-1-code">Copy</a>
399399
</p>
400400
<article class="example-preview">
401-
<div id="" class="example-code">{% highlight html %}{% endhighlight %}</div>
401+
<div id="meta-example-1-code" class="example-code">{% highlight html %}<!-- Refresh the page every 5 seconds -->
402+
<meta http-equiv="refresh" content="5">{% endhighlight %}</div>
402403
</article>
403404
</div>
404405
<div id="meta-example-2" class="example">
405406
<p class="example-label">
406407
<strong>Example:</strong>
407-
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#">Copy</a>
408+
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#meta-example-2-code">Copy</a>
408409
</p>
409410
<article class="example-preview">
410-
<div id="" class="example-code">{% highlight html %}{% endhighlight %}</div>
411+
<div id="meta-example-2-code" class="example-code">{% highlight html %}<!-- Redirect instantly to http://cssreference.io -->
412+
<meta http-equiv="refresh" content="0; url=http://cssreference.io">{% endhighlight %}</div>
411413
</article>
412414
</div>
413415

element/meta/index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,21 @@ <h2 class="element-name">
4343
<div id="meta-example-1" class="example">
4444
<p class="example-label">
4545
<strong>Example:</strong>
46-
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#">Copy</a>
46+
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#meta-example-1-code">Copy</a>
4747
</p>
4848
<article class="example-preview">
49-
<div id="" class="example-code">{% highlight html %}{% endhighlight %}</div>
49+
<div id="meta-example-1-code" class="example-code">{% highlight html %}<!-- Refresh the page every 5 seconds -->
50+
<meta http-equiv="refresh" content="5">{% endhighlight %}</div>
5051
</article>
5152
</div>
5253
<div id="meta-example-2" class="example">
5354
<p class="example-label">
5455
<strong>Example:</strong>
55-
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#">Copy</a>
56+
<a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#meta-example-2-code">Copy</a>
5657
</p>
5758
<article class="example-preview">
58-
<div id="" class="example-code">{% highlight html %}{% endhighlight %}</div>
59+
<div id="meta-example-2-code" class="example-code">{% highlight html %}<!-- Redirect instantly to http://cssreference.io -->
60+
<meta http-equiv="refresh" content="0; url=http://cssreference.io">{% endhighlight %}</div>
5961
</article>
6062
</div>
6163

0 commit comments

Comments
 (0)