Skip to content

Commit 0a6f9cd

Browse files
authored
Merge pull request #186 from ai-models/main
a bit of clean up
2 parents 8eb9f85 + 1d80bd3 commit 0a6f9cd

File tree

3 files changed

+112
-107
lines changed
  • config/_default
  • content/english/workshops/c-dnn-and-c-transformer-ann-and-snn-for-the-best-of-both-worlds
  • themes/hugoplate/layouts

3 files changed

+112
-107
lines changed

config/_default/params.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ preloader = "" # use jpg, png, svg or gif format.
4040
# Navigation button
4141
[navigation_button]
4242
enable = true
43-
label = "Join Discord (900+ joined)"
43+
label = "Join Discord (1200+ joined)"
4444
link = "https://discord.gg/C9bzWgNmqk"
4545

4646
# search

content/english/workshops/c-dnn-and-c-transformer-ann-and-snn-for-the-best-of-both-worlds/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ start_time: 11:00
77
end_time: 12:15
88
time_zone: CEST
99
description: "Join us for a talk by Sangyeob Kim, Postdoctoral researcher at KAIST, on designing efficient accelerators that mix SNNs and ANNs."
10-
upcoming: true
10+
upcoming: false
1111
speaker_photo: sangyeob-kim.jpeg
1212
speaker_bio: 'Sangyeob Kim (Student Member, IEEE) received the B.S., M.S. and Ph.D. degrees from the School of Electrical Engineering, Korea Advanced Institute of Science and Technology (KAIST), Daejeon, South Korea, in 2018, 2020 and 2023, respectively. He is currently a Post-Doctoral Associate with the KAIST. His current research interests include energy-efficient system-on-chip design, especially focused on deep neural network accelerators, neuromorphic hardware, and computing-in-memory accelerators.'
1313
---

themes/hugoplate/layouts/index.html

Lines changed: 110 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -1,120 +1,125 @@
11
{{ define "main" }}
2-
<section class="section-sm xl:pb-5 hero">
3-
<div class="container">
4-
<div class="row justify-between">
5-
<div class="md:col-7 pt-10 lg:col-8">
6-
<h1 class="mb-4 homepage">
7-
Neuromorphic Computing and Engineering Community
8-
</h1>
9-
<ul class="list-disc pl-6 ml-3 mb-8 text-lg">
10-
<li class="relative mb-4 pl-3">
11-
<a href="/neuromorphic-computing/">Educational content</a> to get you started with the neuromorphic
12-
engineering.
13-
</li>
14-
<li class="relative mb-4 pl-3">
15-
<a href="/workshops/">Events about neuromorphic research and software</a>, with contributions from both
16-
academia and industry.
17-
</li>
18-
<li class="relative mb-4 pl-3">
19-
A curated list of neuromorphc open source <a href="/neuromorphic-computing/software/">software</a> and <a
20-
href="/neuromorphic-computing/hardware/">hardware</a> to make it easier to find <strong>the tool you
21-
need</strong>.
22-
</li>
23-
<li class="relative mb-4 pl-3">
24-
<a href="https://github.com/open-neuromorphic" target="_blank">A platform for your code</a>. If you wish to
25-
create a new repository or migrate your existing code to ONM, please get in touch with us.
26-
</li>
27-
</ul>
28-
<p class="text-xl pb-3">Ways to Get Involved</p>
29-
<div class="grid grid-cols-2 gap-4">
30-
<!-- Content Team Card -->
31-
<a href="/getting-involved#content" class="bg-blue-100 dark:bg-darkmode-theme-light p-4 rounded-lg">
32-
<h2 class="text-xl font-semibold mb-2">Blogs & Writing</h2>
33-
<p>Contribute to website content, blogs, newsletters, and technical guides.</p>
34-
</a>
2+
<section class="section-sm xl:pb-5 hero">
3+
<div class="container">
4+
<div class="row justify-between">
5+
{{ $events := where .Site.RegularPages "Section" "workshops" }}
6+
{{ $upcomingEvents := where $events "Params.upcoming" true }}
7+
{{ if $upcomingEvents }}
8+
<div class="md:col-7 pt-10 lg:col-8">
9+
{{ else }}
10+
<div class="md:col-12">
11+
{{ end }}
12+
<h1 class="mb-4 homepage">
13+
Neuromorphic Computing and Engineering Community
14+
</h1>
15+
<ul class="list-disc pl-6 ml-3 mb-8 text-lg">
16+
<li class="relative mb-4 pl-3">
17+
<a href="/neuromorphic-computing/">Educational content</a> to get you started with the neuromorphic
18+
engineering.
19+
</li>
20+
<li class="relative mb-4 pl-3">
21+
<a href="/workshops/">Events about neuromorphic research and software</a>, with contributions from both
22+
academia and industry.
23+
</li>
24+
<li class="relative mb-4 pl-3">
25+
A curated list of neuromorphc open source <a href="/neuromorphic-computing/software/">software</a> and <a
26+
href="/neuromorphic-computing/hardware/">hardware</a> to make it easier to find <strong>the tool you
27+
need</strong>.
28+
</li>
29+
<li class="relative mb-4 pl-3">
30+
<a href="https://github.com/open-neuromorphic" target="_blank">A platform for your code</a>. If you wish
31+
to
32+
create a new repository or migrate your existing code to ONM, please get in touch with us.
33+
</li>
34+
</ul>
35+
<p class="text-xl pb-3">Ways to Get Involved</p>
36+
<div class="grid grid-cols-2 gap-4">
37+
<!-- Content Team Card -->
38+
<a href="/getting-involved#content" class="bg-blue-100 dark:bg-darkmode-theme-light p-4 rounded-lg">
39+
<h2 class="text-xl font-semibold mb-2">Blogs & Writing</h2>
40+
<p>Contribute to website content, blogs, newsletters, and technical guides.</p>
41+
</a>
3542

36-
<!-- Workshop Card -->
37-
<a href="/getting-involved#workshop" class="bg-blue-100 dark:bg-darkmode-theme-light p-4 rounded-lg">
38-
<h2 class="text-xl font-semibold mb-2">Workshop</h2>
39-
<p>Participate in workshops to share your expertise and insights.</p>
40-
</a>
43+
<!-- Workshop Card -->
44+
<a href="/getting-involved#workshop" class="bg-blue-100 dark:bg-darkmode-theme-light p-4 rounded-lg">
45+
<h2 class="text-xl font-semibold mb-2">Workshop</h2>
46+
<p>Participate in workshops to share your expertise and insights.</p>
47+
</a>
4148

42-
<!-- Code Card -->
43-
<a href="/getting-involved#code" class="bg-blue-100 dark:bg-darkmode-theme-light p-4 rounded-lg">
44-
<h2 class="text-xl font-semibold mb-2">Code</h2>
45-
<p>Contribute to ONM projects or host your own project with ONM.</p>
46-
</a>
49+
<!-- Code Card -->
50+
<a href="/getting-involved#code" class="bg-blue-100 dark:bg-darkmode-theme-light p-4 rounded-lg">
51+
<h2 class="text-xl font-semibold mb-2">Code</h2>
52+
<p>Contribute to ONM projects or host your own project with ONM.</p>
53+
</a>
4754

48-
<!-- Discord Card -->
49-
<a href="#discord" class="bg-blue-100 dark:bg-darkmode-theme-light p-4 rounded-lg">
50-
<h2 class="text-xl font-semibold mb-2">Discord</h2>
51-
<p>Join our welcoming and collaborative community on Discord.</p>
52-
</a>
55+
<!-- Discord Card -->
56+
<a href="#discord" class="bg-blue-100 dark:bg-darkmode-theme-light p-4 rounded-lg">
57+
<h2 class="text-xl font-semibold mb-2">Discord</h2>
58+
<p>Join our welcoming and collaborative community on Discord.</p>
59+
</a>
60+
</div>
5361
</div>
5462

55-
56-
</div>
57-
<div class="mb:md-0 md:col-5 lg:col-4 mb-6">
58-
{{ $events := where .Site.RegularPages "Section" "workshops" }}
59-
{{ $upcomingEvents := where $events "Params.upcoming" true }}
60-
{{ if $upcomingEvents }}
61-
<div class="bg-theme-light dark:bg-darkmode-theme-light rounded p-7">
62-
<h3 class="pb-5 text-xl">Next Workshop</h3>
63-
{{ $sortedUpcomingEvents := sort $upcomingEvents "Params.date" }}
64-
{{ with index $sortedUpcomingEvents 0 }}
65-
<!-- Display the nearest upcoming event -->
66-
<div class="mb-0">
67-
{{ partial "components/session-card" . }}
68-
</div>
69-
{{ end }}
63+
{{ if $upcomingEvents }}
64+
<div class="mb:md-0 md:col-5 lg:col-4 mb-6">
65+
<div class="bg-theme-light dark:bg-darkmode-theme-light rounded p-7">
66+
<h3 class="pb-5 text-xl">Next Workshop</h3>
67+
{{ $sortedUpcomingEvents := sort $upcomingEvents "Params.date" }}
68+
{{ with index $sortedUpcomingEvents 0 }}
69+
<!-- Display the nearest upcoming event -->
70+
<div class="mb-0">
71+
{{ partial "components/session-card" . }}
72+
</div>
73+
{{ end }}
74+
</div>
7075
</div>
71-
{{ end }}
72-
</div>
73-
<div class="pt-2 pb-0">
74-
{{ if gt (len $upcomingEvents) 1}} <div class="bg-theme-light dark:bg-darkmode-theme-light rounded mt-3 p-5">
75-
{{ partial "components/upcoming-wide" . }}
76-
</div>
77-
{{ end }}
76+
{{ end }}
77+
<div class="pt-2 pb-0">
78+
{{ if gt (len $upcomingEvents) 1 }}
79+
<div class="bg-theme-light dark:bg-darkmode-theme-light rounded mt-3 p-5">
80+
{{ partial "components/upcoming-wide" . }}
81+
</div>
82+
{{ end }}
7883

84+
</div>
7985
</div>
8086
</div>
81-
</div>
82-
</div>
83-
</section>
84-
<section class="section-sm">
85-
<div class="container">
86-
<div class="row">
87-
<div class="col-6 pb-8">
88-
<h3>Recent Workshops</h3>
89-
</div>
90-
<div class="col-6">
91-
<a href="/workshops" class="btn btn-primary float-right">Explore All Workshops</a>
92-
</div>
93-
{{ $events := where .Site.RegularPages "Section" "workshops" }}
94-
{{ $recentRecordings := slice }}
95-
{{ $sortedRecentRecordings := sort $events "Params.date" "desc" }}
96-
{{ range first 3 (where $sortedRecentRecordings "Params.upcoming" "ne" true) }}
97-
<div class="md:col-12 lg:col-4 mb-14">
98-
{{ partial "components/session-card" . }}
99-
</div>
100-
{{ end }}
10187
</div>
102-
<div class="row">
103-
<div class="col-6 pb-8">
104-
<h3>Recent Posts</h3>
105-
</div>
106-
<div class="col-6">
107-
<a href="/blog/" class="btn btn-primary float-right">Explore All Posts</a>
88+
</section>
89+
<section class="section-sm">
90+
<div class="container">
91+
<div class="row">
92+
<div class="col-6 pb-8">
93+
<h3>Recent Workshops</h3>
94+
</div>
95+
<div class="col-6">
96+
<a href="/workshops" class="btn btn-primary float-right">Explore All Workshops</a>
97+
</div>
98+
{{ $events := where .Site.RegularPages "Section" "workshops" }}
99+
{{ $recentRecordings := slice }}
100+
{{ $sortedRecentRecordings := sort $events "Params.date" "desc" }}
101+
{{ range first 3 (where $sortedRecentRecordings "Params.upcoming" "ne" true) }}
102+
<div class="md:col-12 lg:col-4 mb-14">
103+
{{ partial "components/session-card" . }}
104+
</div>
105+
{{ end }}
108106
</div>
109-
{{ $events := where .Site.RegularPages "Section" "blog" }}
110-
{{ $recentRecordings := slice }}
111-
{{ $sortedRecentRecordings := sort $events "Params.date" "desc" }}
112-
{{ range first 4 $sortedRecentRecordings }}
113-
<div class="md:col-12 lg:col-3 mb-14">
114-
{{ partial "components/blog-card" . }}
107+
<div class="row">
108+
<div class="col-6 pb-8">
109+
<h3>Recent Posts</h3>
110+
</div>
111+
<div class="col-6">
112+
<a href="/blog/" class="btn btn-primary float-right">Explore All Posts</a>
113+
</div>
114+
{{ $events := where .Site.RegularPages "Section" "blog" }}
115+
{{ $recentRecordings := slice }}
116+
{{ $sortedRecentRecordings := sort $events "Params.date" "desc" }}
117+
{{ range first 4 $sortedRecentRecordings }}
118+
<div class="md:col-12 lg:col-3 mb-14">
119+
{{ partial "components/blog-card" . }}
120+
</div>
121+
{{ end }}
115122
</div>
116-
{{ end }}
117123
</div>
118-
</div>
119-
</section>
124+
</section>
120125
{{ end }}

0 commit comments

Comments
 (0)