Skip to content

Commit

Permalink
improve css for mobile (#27)
Browse files Browse the repository at this point in the history
Feat: Improve css for mobile
  • Loading branch information
techmannih authored Jan 7, 2025
1 parent 0fd83aa commit a66783c
Show file tree
Hide file tree
Showing 4 changed files with 223 additions and 290 deletions.
14 changes: 14 additions & 0 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{{ define "main" }}

<div class="hero">
<h1>{{ .Title }}</h1>
<div class="description">
{{ .TableOfContents }}
</div>
</div>

<section class="content">
{{ .Content }}
</section>

{{ end }}
2 changes: 1 addition & 1 deletion layouts/sessions/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{{ .Content }}

<section>
<section class="sessions">
<ul class="talks">
{{ $sessions := where .Site.AllPages ".Section" "sessions" }}
{{ $types := (slice "talk") }}
Expand Down
14 changes: 14 additions & 0 deletions layouts/speakers/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{{ define "main" }}

{{ .Content }}

<section class="speakers-list">
<ul class="speakers shuffle">
{{ $speakers := where .Site.AllPages ".Section" "speakers" }}
{{ range where $speakers ".Kind" "page" }}
<li>{{ partial "speaker.html" . }}</li>
{{ end }}
</ul>
</section>

{{ end }}
Loading

0 comments on commit a66783c

Please sign in to comment.