Skip to content

Commit 574c508

Browse files
authored
Merge pull request open-neuromorphic#406 from neural-loop/fixes
fix: hardware: Sort hardware cards by release date
2 parents 50774a4 + 683fc0e commit 574c508

File tree

2 files changed

+71
-71
lines changed
  • content/neuromorphic-computing/hardware/pulsar-by-innatera
  • layouts/neuromorphic-hardware

2 files changed

+71
-71
lines changed

content/neuromorphic-computing/hardware/pulsar-by-innatera/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ organization:
1313
social_media_links:
1414
linkedin: "https://www.linkedin.com/company/innatera/"
1515
product:
16-
announced_date: "2025-05-21" # Based on T1, will use this as placeholder
16+
announced_date: 2025-05-21
1717
applications: "Wearables, Hearables, Smart Home, IoT, Industrial Monitoring"
1818
chip_type: "Mixed-signal"
1919
neurons: "N/A" # Specific numbers not on page
@@ -23,7 +23,7 @@ product:
2323
on_chip_learning: false
2424
power: "< 1mW (microwatt levels)"
2525
release_year: 2025
26-
release_date: "2025-05-21" # Placeholder
26+
release_date: 2025-05-21
2727
software: "Talamo SDK"
2828
status:
2929
announced: true
Lines changed: 69 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,81 @@
11
{{ define "main" }}
2-
{{ partial "page-header" . }}
2+
{{ partial "page-header" . }}
33

4-
<section class="section pt-8">
5-
<div class="container">
6-
<div class="prose dark:prose-invert max-w-none mx-auto text-center mb-12">
7-
<p class="text-lg">
8-
Welcome to the Open Neuromorphic Hardware Guide. This directory provides a comprehensive overview of neuromorphic hardware, from pioneering past projects to the latest commercial and research chips. Each entry includes key specifications, architectural details, and links to relevant publications.
9-
For definitions of common terms, please see the <a href="#glossary">glossary</a> below.
10-
</p>
11-
</div>
4+
<section class="section pt-8">
5+
<div class="container">
6+
<div class="prose dark:prose-invert max-w-none mx-auto text-center mb-12">
7+
<p class="text-lg">
8+
Welcome to the Open Neuromorphic Hardware Guide. This directory provides a comprehensive overview of neuromorphic hardware, from pioneering past projects to the latest commercial and research chips. Each entry includes key specifications, architectural details, and links to relevant publications.
9+
For definitions of common terms, please see the <a href="#glossary">glossary</a> below.
10+
</p>
11+
</div>
1212

13-
{{ $all_hardware := where .Site.RegularPages "Type" "neuromorphic-hardware" }}
14-
{{ $grouped_by_year := $all_hardware.GroupByParam "product.release_year" }}
15-
{{ $sorted_groups := sort $grouped_by_year "Key" "desc" }}
13+
{{ $all_hardware := where .Site.RegularPages "Type" "neuromorphic-hardware" }}
14+
{{ $grouped_by_year := $all_hardware.GroupByParam "product.release_year" }}
15+
{{ $sorted_groups := sort $grouped_by_year "Key" "desc" }}
1616

17-
<ul class="max-w-4xl mx-auto list-none p-0">
18-
{{ range $sorted_groups }}
19-
<li class="year-section mb-12 text-center">
20-
<h2 class="text-3xl font-bold mb-6 pb-2 border-primary dark:border-darkmode-primary">{{ .Key }}</h2>
21-
<ul class="text-left space-y-6 list-none p-0">
22-
{{ $sorted_pages_in_year := sort .Pages "Title" "asc" }}
23-
{{ range $sorted_pages_in_year }}
24-
<li>
25-
{{ partial "components/hardware-card-wide.html" . }}
26-
</li>
27-
{{ end }}
28-
</ul>
17+
<ul class="max-w-4xl mx-auto list-none p-0">
18+
{{ range $sorted_groups }}
19+
<li class="year-section mb-12 text-center">
20+
<h2 class="text-3xl font-bold mb-6 pb-2 border-primary dark:border-darkmode-primary">{{ .Key }}</h2>
21+
<ul class="text-left space-y-6 list-none p-0">
22+
{{ $sorted_pages_in_year := sort .Pages ".Params.product.release_date" "desc" }}
23+
{{ range $sorted_pages_in_year }}
24+
<li>
25+
{{ partial "components/hardware-card-wide.html" . }}
2926
</li>
30-
{{ end }}
31-
</ul>
27+
{{ end }}
28+
</ul>
29+
</li>
30+
{{ end }}
31+
</ul>
3232

33-
<div class="max-w-4xl mx-auto mt-12 mb-16">
34-
{{ partial "components/content-contribute-cta.html" (dict
35-
"icon" "solid microchip"
36-
"title" "Help Us <span class=\"gradient-text\">Improve this Guide</span>"
37-
"description" "Our hardware guide is community-maintained. If you know of a chip we should add, see an error, or have updated information, please let us know by opening an issue on our GitHub repository."
38-
"link" "https://github.com/open-neuromorphic/open-neuromorphic.github.io/issues/new/choose"
39-
"link_text" "Suggest an Edit on GitHub"
40-
) }}
41-
</div>
33+
<div class="max-w-4xl mx-auto mt-12 mb-16">
34+
{{ partial "components/content-contribute-cta.html" (dict
35+
"icon" "solid microchip"
36+
"title" "Help Us <span class=\"gradient-text\">Improve this Guide</span>"
37+
"description" "Our hardware guide is community-maintained. If you know of a chip we should add, see an error, or have updated information, please let us know by opening an issue on our GitHub repository."
38+
"link" "https://github.com/open-neuromorphic/open-neuromorphic.github.io/issues/new/choose"
39+
"link_text" "Suggest an Edit on GitHub"
40+
) }}
41+
</div>
4242

43-
<div id="glossary" class="pt-12 max-w-4xl mx-auto">
44-
<h2 class="text-3xl font-bold text-center mb-8">Glossary of Terms</h2>
45-
<details class="bg-theme-light dark:bg-darkmode-theme-light rounded-lg shadow-md p-6 cursor-pointer">
46-
<summary class="font-semibold text-xl text-dark dark:text-darkmode-dark list-none">
47-
<span class="summary-title">Click to expand/collapse glossary</span>
48-
<span class="float-right transition-transform duration-300 transform group-open:rotate-180">+</span>
49-
</summary>
50-
<div class="mt-4 grid md:grid-cols-2 gap-x-8 gap-y-4 prose dark:prose-invert max-w-none">
51-
{{ with .Params.glossary }}
52-
{{ range . }}
53-
<div class="glossary-item">
54-
<p><strong>{{ .term }}:</strong> {{ .definition | markdownify }}</p>
55-
</div>
56-
{{ end }}
57-
{{ end }}
43+
<div id="glossary" class="pt-12 max-w-4xl mx-auto">
44+
<h2 class="text-3xl font-bold text-center mb-8">Glossary of Terms</h2>
45+
<details class="bg-theme-light dark:bg-darkmode-theme-light rounded-lg shadow-md p-6 cursor-pointer">
46+
<summary class="font-semibold text-xl text-dark dark:text-darkmode-dark list-none">
47+
<span class="summary-title">Click to expand/collapse glossary</span>
48+
<span class="float-right transition-transform duration-300 transform group-open:rotate-180">+</span>
49+
</summary>
50+
<div class="mt-4 grid md:grid-cols-2 gap-x-8 gap-y-4 prose dark:prose-invert max-w-none">
51+
{{ with .Params.glossary }}
52+
{{ range . }}
53+
<div class="glossary-item">
54+
<p><strong>{{ .term }}:</strong> {{ .definition | markdownify }}</p>
5855
</div>
59-
</details>
60-
</div>
56+
{{ end }}
57+
{{ end }}
58+
</div>
59+
</details>
6160
</div>
62-
</section>
61+
</div>
62+
</section>
63+
64+
<script>
65+
document.addEventListener('DOMContentLoaded', function() {
66+
const details = document.querySelector('#glossary details');
67+
const summary = details.querySelector('summary');
68+
const icon = summary.querySelector('.float-right');
6369

64-
<script>
65-
document.addEventListener('DOMContentLoaded', function() {
66-
const details = document.querySelector('#glossary details');
67-
const summary = details.querySelector('summary');
68-
const icon = summary.querySelector('.float-right');
69-
70-
details.addEventListener('toggle', function() {
71-
if (details.open) {
72-
icon.textContent = '−';
73-
icon.style.transform = 'rotate(0deg)';
74-
} else {
75-
icon.textContent = '+';
76-
icon.style.transform = 'rotate(0deg)';
77-
}
78-
});
70+
details.addEventListener('toggle', function() {
71+
if (details.open) {
72+
icon.textContent = '−';
73+
icon.style.transform = 'rotate(0deg)';
74+
} else {
75+
icon.textContent = '+';
76+
icon.style.transform = 'rotate(0deg)';
77+
}
7978
});
80-
</script>
79+
});
80+
</script>
8181
{{ end }}

0 commit comments

Comments
 (0)