Skip to content

Commit

Permalink
Merge pull request #2 from ghcloudai/dev/xiaoli
Browse files Browse the repository at this point in the history
Improved the code of default.html
  • Loading branch information
xiaoliwe authored Jan 31, 2024
2 parents 2c8da89 + 67f3ea3 commit 83a2cd4
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 8 deletions.
16 changes: 15 additions & 1 deletion _assets/main.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
/* _assets/main.css */
/* Your styles go here */
/* Your styles go here */
.container {
display: flex;
}

.sidebar {
background-color: #f4f4f4;
padding: 20px;
width: 200px;
}

main {
flex: 1;
padding: 20px;
}
20 changes: 13 additions & 7 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,27 @@
<!DOCTYPE html>
<html>
<head>
<title>Your Page Title</title>
<title>The documentation of GHCloud!</title>
<link rel="stylesheet" type="text/css" href="../_assets/main.css">
</head>
<body>
<header>
<!-- Your header content goes here -->
</header>

<nav>
<!-- Your navigation content goes here -->
</nav>
<div class="container">
<nav class="sidebar">
<ul>
<li><a href="#section1">Section 1</a></li>
<li><a href="#section2">Section 2</a></li>
<li><a href="#section3">Section 3</a></li>
</ul>
</nav>

<main>
{{ content }}
</main>
<main>
{{ content }}
</main>
</div>

<footer>
<!-- Your footer content goes here -->
Expand Down

0 comments on commit 83a2cd4

Please sign in to comment.