Skip to content

Commit dea8fbd

Browse files
author
JoelCDL
committed
Add updated component to toolkit
1 parent 884e20a commit dea8fbd

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎index.hbs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
<li><a href="src/components/status-view.hbs">System Status</a></li>
6868
<li><a href="src/components/textcolor-view.hbs">Text Color for SCP</a></li>
6969
<li><a href="src/components/timeline-view.hbs">Timeline</a></li>
70+
<li><a href="src/components/updated-view.hbs">Updated</a></li>
7071
<li><a href="src/components/utilitynav-view.hbs">Utility Nav</a></li>
7172
</ul>
7273
<h2>Objects</h2>

‎src/components/updated-view.hbs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{{#extend "base"}}{{#content "body"}}
2+
{{> updated }}
3+
{{/content}}{{/extend}}

‎src/components/updated.hbs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
<time aria-labelledby="updated-last">{{ updated.date }}</time>
44
<div id="updated-owner" class="c-updated__label">Page owner:</div>
55
<address aria-labelledby="updated-owner">
6-
{{> link }}
6+
{{> link updated }}
77
</address>
88
</aside>

0 commit comments

Comments
 (0)