Skip to content

Commit 157ca7e

Browse files
authored
Merge pull request #193 from neural-loop/updates
* Placeholders for thumbnails when image not set
2 parents 5b7e74f + ff916f2 commit 157ca7e

File tree

5 files changed

+17
-8
lines changed

5 files changed

+17
-8
lines changed

content/english/workshops/project-phasor-kickoff-brian-anderson/index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ date: 2025-01-28
66
start_time: 19:00
77
end_time: 20:00
88
time_zone: CET
9-
upcoming: true
9+
upcoming: false
1010
description: "Brian Anderson and others will talk about the newly launched Project Phasor that aims to organize efforts towards neuromorphic and NeuroAI virtualization and compilation."
11-
image: phasor.jpg
1211
speaker_photo: brian.png
1312
speaker_bio: "Brian Anderson is a Neuromorphic Engineer with experience from industry heavy-hitters such as ML Commons, Intel Labs, Google, and NVIDIA. He has pioneered neuromorphic engineering methods and championed neuromorphic technologies in the industry and academia alike. A position he is well suited for, given his degrees in Electrical Engineering and Computer Science from MIT."
1413
---
@@ -23,4 +22,4 @@ We are also exploring the creation of a joint research fund for NeuroAI and neur
2322

2423
Join us to learn the big takeaways from of our intense week of kickoff meetings earlier in the month.
2524

26-
We will allocate a lot of time for discussion, so folks can help steer the efforts and also help us strategize ways to precipitate something great.
25+
We will allocate a lot of time for discussion, so folks can help steer the efforts and also help us strategize ways to precipitate something great.

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@
66
"author": "zeon.studio",
77
"scripts": {
88
"dev": "hugo serve --buildFuture",
9-
"build": "hugo --gc --minify --buildFuture --templateMetrics --templateMetricsHints --forceSyncStatic",
10-
"test": "hugo server --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --watch --forceSyncStatic -e production --minify",
11-
"dev:example": "cd exampleSite; hugo server",
12-
"build:example": "cd exampleSite; hugo --gc --minify --templateMetrics --templateMetricsHints --forceSyncStatic",
13-
"test:example": "cd exampleSite; hugo server --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --watch --forceSyncStatic -e production --minify",
9+
"build": "rm public -fr && hugo --gc --minify --buildFuture --templateMetrics --templateMetricsHints --forceSyncStatic",
10+
"build-test": "hugo server --disableFastRender --navigateToChanged --templateMetrics --templateMetricsHints --forceSyncStatic -e production --minify",
1411
"update-modules": "node ./scripts/clearModules.js && hugo mod clean --all && hugo mod get -u ./... && hugo mod tidy",
1512
"remove-darkmode": "node ./scripts/removeDarkmode.js && yarn format",
1613
"project-setup": "node ./scripts/projectSetup.js",

themes/hugoplate/layouts/partials/components/session-card-video.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
<a href="{{ .RelPermalink }}">
99
{{ partial "override-image" (dict "Src" $image "Context" .Page "Alt" .Title "Class" "mb-6 w-full rounded") }}
1010
</a>
11+
12+
{{ else }}
13+
{{ partial "override-image" (dict "Src" "images/workshop-thumbnail-default.png" "Alt" .Title "Class" "w-full rounded") }}
14+
1115
{{ end }}
1216
<h4 class="mb-3">
1317
<a href="{{ .RelPermalink }}">

themes/hugoplate/layouts/partials/components/session-card-wide.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
<a href="{{ .RelPermalink }}" class="pb-4">
66
{{ partial "override-image" (dict "Src" $image "Context" .Page "Alt" .Title "Class" "w-full rounded" "Size" "500x") }}
77
</a>
8+
{{ else }}
9+
<a href="{{ .RelPermalink }}" class="pb-4">
10+
11+
{{ partial "override-image" (dict "Src" "images/workshop-thumbnail-default.png" "Alt" .Title "Class" "w-full rounded") }}
12+
</a>
813
{{ end }}
914
</div>
1015
<div class="lg:col-8 md:col-12">

themes/hugoplate/layouts/partials/components/session-card.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
<a href="{{ .RelPermalink }}">
55
{{ partial "override-image" (dict "Src" $image "Context" .Page "Alt" .Title "Class" "mb-6 w-full rounded" "Size" "500x") }}
66
</a>
7+
{{ else }}
8+
<a href="{{ .RelPermalink }}">
9+
{{ partial "override-image" (dict "Src" "images/workshop-thumbnail-default.png" "Alt" .Title "Class" "w-full rounded" "Size" "500x") }}
10+
</a>
711
{{ end }}
812
<h4 class="mb-3">
913
<a href="{{ .RelPermalink }}">

0 commit comments

Comments
 (0)