Skip to content

Commit

Permalink
Fix human errors under _includes
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Jul 29, 2022
1 parent f8ab633 commit fcfeae8
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions _includes/proposals.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,24 @@ <h3>{{ proposals["title"] }}</h3>
<ul class="featurelist__legend__tags">
<li>
{{ proposals["how-to-read"]["tags"]["last-presented"] }}:
<div class="featurelist__item__presented featurelist-item-tag">
<a
href="{{ presentation.url }}"
title='{{ proposals["last-presented-alt"] }}'
<div class="featurelist__item__presented featurelist__item__tag">
<a title='{{ proposals["last-presented-alt"] }}'
>{{ proposals["how-to-read"]["tags"]["last-presented-fake-date"]
}}</a
>
</div>
</li>
<li>
{{ proposals["how-to-read"]["tags"]["tests"] }}:
<div class="featurelist__item__tests featurelist-item-tag">
<div class="featurelist__item__tests featurelist__item__tag">
<a title='{{ proposals["tests-alt"] }}'>
{{ proposals["tests"] }}
</a>
</div>
</li>
<li>
{{ proposals["how-to-read"]["tags"]["spec"] }}:
<div class="featurelist__item__spec featurelist-item-tag">
<div class="featurelist__item__spec featurelist__item__tag">
<a title='{{ proposals["specification-alt"] }}'>
{{ proposals["specification"] }}
</a>
Expand All @@ -53,15 +51,13 @@ <h3>{{ proposals["title"] }}</h3>
<div class="featurelist__item__intro">
<header class="g-row">
<h4 class="featurelist__item__title flex-grow">
<a href="https://github.com/tc39/{{ proposal.url }}"
>{{ proposal.name }}</a
>
<a href="{{ proposal.url }}">{{ proposal.name }}</a>
</h4>
<div class="featurelist__item__tags">
<ul class="featurelist__item__status featurelist__item__tags">
<!-- {% if proposal[1].presented | size %} {% for
presentation in proposal[1].presented %}
<li class="featurelist__item__presented featurelist-item-tag">
<li class="featurelist__item__presented featurelist__item__tag">
{%- if presentation.url -%}
<a
href="{{ presentation.url }}"
Expand All @@ -78,13 +74,13 @@ <h4 class="featurelist__item__title flex-grow">
</li>
{% endfor %} {% endif %} -->
{% if proposal.tests | size %} {% for url in proposal.tests %}
<li class="featurelist__item__tests featurelist-item-tag">
<li class="featurelist__item__tests featurelist__item__tag">
<a href="{{ url }}" title='{{ proposals["test-alt"] }}'>
{{ proposals["tests"] }}
</a>
</li>
{% endfor %} {% endif %} {% if proposal['has-specification'] %}
<li class="featurelist__item__spec featurelist-item-tag">
<li class="featurelist__item__spec featurelist__item__tag">
<a
href="https://tc39.es/{{ proposal.id }}"
title='{{ proposals["specification-alt"] }}'
Expand Down

0 comments on commit fcfeae8

Please sign in to comment.