Skip to content

Commit d4426c0

Browse files
committed
blog video above fold
1 parent 3095f53 commit d4426c0

File tree

4 files changed

+29
-12
lines changed

4 files changed

+29
-12
lines changed

assets/css/style.css

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,10 @@ select {
770770
left: 0;
771771
}
772772

773+
.aspect-h-11 {
774+
--tw-aspect-h: 11;
775+
}
776+
773777
.prose {
774778
color: var(--tw-prose-body);
775779
max-width: 65ch;
@@ -1563,10 +1567,6 @@ select {
15631567
display: inline-block;
15641568
}
15651569

1566-
.inline {
1567-
display: inline;
1568-
}
1569-
15701570
.flex {
15711571
display: flex;
15721572
}
@@ -4332,6 +4332,16 @@ h1 strong, h2 strong, h3 strong, .text-highlight, .superheading strong {
43324332
margin-right: 0px;
43334333
}
43344334

4335+
.lg\:-mx-16 {
4336+
margin-left: -4rem;
4337+
margin-right: -4rem;
4338+
}
4339+
4340+
.lg\:-mx-24 {
4341+
margin-left: -6rem;
4342+
margin-right: -6rem;
4343+
}
4344+
43354345
.lg\:-ml-0 {
43364346
margin-left: -0px;
43374347
}

config.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ enableGitInfo: true
66
enableRobotsTXT: true
77
canonifyURLs: true
88

9-
paginate: 6
10-
119
taxonomies:
1210
categories: 'categories'
1311
permalinks:
@@ -49,6 +47,8 @@ languages:
4947
contentDir: content/en
5048
languageCode: en-GB
5149
weight: 1
50+
pagination:
51+
pagerSize: 6
5252
menu:
5353
navbar:
5454
- name: News
@@ -239,6 +239,8 @@ languages:
239239
contentDir: content/pt
240240
languageCode: pt-BR
241241
weight: 2
242+
pagination:
243+
pagerSize: 6
242244
menu:
243245
navbar:
244246
- name: Noticias

content/en/blog/aidl-meetup.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ categories:
66
image: "/images/aidl.jpg"
77
date: 2024-10-08
88

9-
9+
youtube: 2Fj-oBRXDiI
1010
aliases:
1111
- "/psychology/aidl-meetup/"
1212
url: "/psychology-ai-tool/aidl-meetup/"
@@ -16,8 +16,6 @@ url: "/psychology-ai-tool/aidl-meetup/"
1616

1717
Thomas Wood presents the Harmony project at the 19th [AI and Deep Learning for Enterprise meetup](https://www.meetup.com/ai-and-dl-for-enterprise/events/303641323) on **8 October 2024**.
1818

19-
{{< youtube 2Fj-oBRXDiI >}}
20-
2119
**In case you missed the talk about Harmony on Tuesday at Civo Tech Junction with AI and Deep Learning for Enterprise sponsored by Daemon, you can now watch the recording of the live stream on AI|DL's channel.**
2220

2321
Topic: **Harmony: a free online tool using LLMs for research in psychology and social sciences**

layouts/blog/single.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,18 @@ <h1 class="text-center text-5xl sm:text-6xl font-bold font-heading tracking-tigh
1818
{{ partial "components/form-mailchimp.html" . }}
1919
</div>
2020
</div>
21-
{{ with .Params.image }}
21+
{{ if .Params.youtube }}
22+
<div class="mt-10 lg:mt-14 max-w-5xl mx-auto">
23+
<div class="aspect-w-16 aspect-h-9 rounded-xl shadow-xl overflow-hidden">
24+
<iframe src="https://www.youtube.com/embed/{{ .Params.youtube }}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
25+
</div>
26+
</div>
27+
{{ else }}
2228
<div class="flex justify-center mt-10 lg:mt-14 max-w-5xl mx-auto aspect-w-16 aspect-h-8">
23-
{{ partial "components/image-responsive" (dict "src" (. | relURL) "alt" $.Title "class" "rounded-xl w-full h-full object-center object-cover shadow-xl" "sizes" "(min-width: 1024px) 50vw, 100vw" "widths" (slice 640 1024 2048)) }}
29+
{{ partial "components/image-responsive" (dict "src" (.Params.image | relURL) "alt" $.Title "class" "rounded-xl w-full h-full object-center object-cover shadow-xl" "sizes" "(min-width: 1024px) 50vw, 100vw" "widths" (slice 640 1024 2048)) }}
2430
</div>
25-
{{ end }}
31+
{{ end }}
32+
2633
<div class="mt-10 lg:mt-14 mx-auto prose sm:prose-lg dark:prose-invert prose-headings:text-blue-950 prose-headings:scroll-mt-32 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline">
2734
{{ .Content }}
2835
</div>

0 commit comments

Comments
 (0)