Skip to content

Commit

Permalink
Added SCOTUS argument and advocate data for terms 1955-1962 (with mor…
Browse files Browse the repository at this point in the history
…e to come)
  • Loading branch information
jeffpar committed Mar 28, 2024
1 parent f251af7 commit 16b8525
Show file tree
Hide file tree
Showing 5 changed files with 53,853 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
},
"cSpell.words": [
"endunless",
"endwhile",
"forloop",
"Justia",
"Kirkham",
"NAID",
Expand Down
37 changes: 37 additions & 0 deletions _includes/arguments.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{%- assign source = "arguments" %}
{%- assign arguments = site.data[source] %}
<h2>All Processed Terms (October Term 1955 through October Term 1962)</h2>
<ul>
{%- assign prev_date = "" %}
{%- for event in arguments %}
{%- assign first_date = event.dates[0] | split: ":" %}
{%- if first_date[1] != prev_date %}
{%- if prev_date != "" %}
</ul>
</li>
{%- endif %}
<li>{{ first_date[1] }}
<ul>
{%- endif %}
{%- for docket in event.dockets %}
{%- assign i = forloop.index0 %}
<li>No. {{ docket }}, {{ event.titles[i] }}{% unless forloop.last %}</li>{% endunless %}
{%- endfor %}
<ul>
{%- for link in event.oyez %}
<li><a href="{{ link }}">{{ link }}</a></li>
{%- endfor %}
{%- for link in event.nara %}
{%- assign link_parts = link | split: "/" %}
{%- assign link_index = link_parts | size | minus: 1 %}
<li><a href="{{ link }}">{{ link_parts[link_index] }}</a></li>
{%- endfor %}
</ul>
</li>
{%- assign prev_date = first_date[1] %}
{%- endfor %}
{%- if prev_date != "" %}
</ul>
</li>
{%- endif %}
</ul>
Loading

0 comments on commit 16b8525

Please sign in to comment.