Skip to content

Commit

Permalink
Switch to wide layout and bump versions (#42)
Browse files Browse the repository at this point in the history
* Switch to wide layout

* Bump theme versions

* Bump hugo version
  • Loading branch information
doganulus authored Jun 13, 2024
1 parent 774b5df commit 1a4e131
Show file tree
Hide file tree
Showing 15 changed files with 47 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
HUGO_VERSION=0.124.1
HUGO_VERSION=0.127.0
4 changes: 2 additions & 2 deletions config/_default/params.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ navigation:
#color: primary
# horizontal: true
toc: true
sidebar: true
sidebar: false
breadcrumb: false

sharing:
Expand All @@ -26,7 +26,7 @@ sharing:
# Boğaziçi Light Blue: "#8cc8ea"
style:
primary: "#1e4a8b"
fontSizeBase: "1.25rem"
fontSizeBase: "1.1rem"
themeFont: "Open Sans"
themeFontPath: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400..800;1,400..800&display=swap"

Expand Down
3 changes: 3 additions & 0 deletions content/people/_index.en.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
title: People
layout: list
cascade:
params:
type: wide
---
7 changes: 7 additions & 0 deletions content/people/_index.tr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Kişiler
layout: list
cascade:
params:
type: wide
---
1 change: 0 additions & 1 deletion content/people/academic-staff.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
title: Academic Staff
description: Computer Engineering Teaching Assistants
metadata: none
thumbnail: https://picsum.photos/seed/picsum/1400
weight: 22
---

Expand Down
1 change: 0 additions & 1 deletion content/people/academic-staff.tr.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
title: Akademik Personel
description: Bilgisayar Mühendisliği Asistanları
metadata: none
thumbnail: https://picsum.photos/seed/picsum/1400
weight: 22
---

Expand Down
1 change: 0 additions & 1 deletion content/people/faculty.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: Faculty
description: Computer Engineering Faculty Members
metadata: none
weight: 21
thumbnail: https://picsum.photos/seed/picsum/1400
class: rounded-5
---

Expand Down
1 change: 0 additions & 1 deletion content/people/faculty.tr.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: Öğretim Üyeleri
description: Bilgisayar Mühendisliği Öğretim Üyeleri
metadata: none
weight: 21
thumbnail: https://picsum.photos/seed/picsum/1400
class: rounded-5
---

Expand Down
1 change: 0 additions & 1 deletion content/people/support-staff.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
title: Support Staff
description: Computer Engineering Support Staff
metadata: none
thumbnail: https://picsum.photos/seed/picsum/1400
weight: 23
---

Expand Down
1 change: 0 additions & 1 deletion content/people/support-staff.tr.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
title: İdari ve Yardımcı Personel
description: Bilgisayar Mühendisliği İdari ve Yardımcı Personeli
metadata: none
thumbnail: https://picsum.photos/seed/picsum/1400
weight: 23
---

Expand Down
1 change: 1 addition & 0 deletions content/undergraduate/curriculum.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: Boğaziçi University Computer Enginering Curriculum
metadata: none
toc: false
weight: 1
type: wide
---

<!-- prettier-ignore-start -->
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/bounverif/bouncmpe.github.io

go 1.20

require github.com/gethinode/hinode v0.23.20 // indirect
require github.com/gethinode/hinode v0.24.3 // indirect
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/gethinode/hinode v0.23.20 h1:dsBDyCnPhI3lox4sM5JEUMil2DByDWT/pcP1Ii6Eges=
github.com/gethinode/hinode v0.23.20/go.mod h1:ZeVZDRjvPMosmTVG3RWBvaHvWaNbjYf7/3fF/LxXOVw=
github.com/gethinode/hinode v0.24.3 h1:PaBOHpya4Wv1qC0nF+T2BeyAeQ7rew6wgGoS7kMAxMc=
github.com/gethinode/hinode v0.24.3/go.mod h1:fKFWr9VndV/rXHmvKkdq1cbc5ESafSbgcWlaBXD+Hds=
15 changes: 15 additions & 0 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{ define "main" -}}
{{- $breakpoint := $.Scratch.Get "breakpoint" -}}
{{ $toc := .Render "single/panel-toc" }}

<div class="container-xxl flex-fill p-4 px-xxl-0">
<div class="row row-cols-1 row-cols-{{ $breakpoint.current }}-2">
<div class="col col-{{ $breakpoint.prev }}-12 col-{{ $breakpoint.current }}-6">
{{ .Render "single/main" }}
</div>
<div class="col col-{{ $breakpoint.current }}-3 offset-{{ $breakpoint.current }}-1 d-none d-{{ $breakpoint.current }}-block">
{{ $toc | safeHTML }}
</div>
</div>
</div>
{{ end -}}
15 changes: 15 additions & 0 deletions layouts/wide/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{ define "main" -}}
{{- $breakpoint := $.Scratch.Get "breakpoint" -}}
{{ $toc := .Render "single/panel-toc" }}

<div class="container-xxl flex-fill p-4 px-xxl-0">
<div class="row row-cols-1 row-cols-{{ $breakpoint.current }}-2">
<div class="col col-{{ $breakpoint.prev }}-12 col-{{ $breakpoint.current }}-9">
{{ .Render "single/main" }}
</div>
<div class="col col-{{ $breakpoint.current }}-3 d-none d-{{ $breakpoint.current }}-block">
{{ $toc | safeHTML }}
</div>
</div>
</div>
{{ end -}}

0 comments on commit 1a4e131

Please sign in to comment.