Skip to content

Commit

Permalink
FIX: fix page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
T-K-233 committed Sep 11, 2023
1 parent 5658153 commit 85ffbf0
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 19 deletions.
20 changes: 12 additions & 8 deletions _layouts/front-page.html → _layouts/frontpage.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>UC Berkeley EE 194/290C</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">


<html lang="{{ site.lang | default: 'en-US' }}">
{% include head.html %}
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.js"></script>
Expand Down Expand Up @@ -32,6 +29,7 @@
</style>
</head>
<body>
<a class="skip-to-main" href="#main-content">Skip to main content</a>
<div class="ui large top fixed menu">
<div class="ui container">
<a class="header item" href="/">
Expand Down Expand Up @@ -63,9 +61,15 @@
</div>
</div>
<div class="spacer" style="height: 5em"></div>
<div class="ui {{ page.container_type }} container">
{{ content }}

<div class="main-content-wrap" id="top">
<div class="ui {{ page.container_type }} container">
{{ content }}
</div>
</div>
{% if site.mermaid %}
{% include components/mermaid.html %}
{% endif %}
<div class="spacer" style="height: 10em"></div>
</body>
</html>
2 changes: 1 addition & 1 deletion semesters/fa21/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Fa21 Bringup
layout: frontpage
container_type: text
---

Expand Down
2 changes: 1 addition & 1 deletion semesters/fa22/hw/hw-1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Fa22 Bringup
layout: default
---

# HW 1
Expand Down
2 changes: 1 addition & 1 deletion semesters/fa22/hw/hw-2.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Fa22 Bringup
layout: default
---

# HW 2
Expand Down
2 changes: 1 addition & 1 deletion semesters/fa22/hw/hw-3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Fa22 Bringup
layout: default
---

# HW 3
Expand Down
2 changes: 1 addition & 1 deletion semesters/fa22/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Fa22 Bringup
layout: frontpage
container_type: text
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Fa22 Bringup
layout: front-page
---

# Chipyard
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Fa22 Bringup
layout: front-page
---

# Chipyard
Expand Down
2 changes: 1 addition & 1 deletion semesters/fa22/labs/lab1-chipyard/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Fa22 Bringup
layout: front-page
container_type: text
---

Expand Down
2 changes: 1 addition & 1 deletion semesters/fa22/labs/lab2-tsi-flow/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Fa22 Bringup
layout: front-page
---

# Serial TileLink Bootflow
Expand Down
2 changes: 1 addition & 1 deletion semesters/fa23/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Fa23 Bringup
layout: minimal
layout: frontpage
nav_exclude: true
---

Expand Down
8 changes: 8 additions & 0 deletions semesters/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Semesters
layout: frontpage
container_type: text
---

See ["EE290C Advanced Topics in Circuit Design Semester archives"](https://inst.eecs.berkeley.edu/~ee290c/archives.html) for more information.

2 changes: 1 addition & 1 deletion semesters/sp22/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Sp22 Tapeout
layout: frontpage
container_type: text
---

Expand Down

0 comments on commit 85ffbf0

Please sign in to comment.