Skip to content

Commit

Permalink
Merge pull request #6 from ghcloudai/dev/xiaoli
Browse files Browse the repository at this point in the history
remove code of page
  • Loading branch information
xiaoliwe authored Jan 31, 2024
2 parents 506636b + 560b54d commit 7334cbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 54 deletions.
26 changes: 0 additions & 26 deletions _assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,6 @@ header {
padding: 10px;
}

nav ul {
list-style: none;
padding: 0;
margin: 0;
}

nav ul li {
display: inline;
margin-right: 10px;
}

.container {
display: flex;
}

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

main {
flex: 1;
padding: 20px;
}

footer {
background-color: #333;
color: #fff;
Expand Down
30 changes: 2 additions & 28 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,11 @@
</head>
<body>
<header>
<nav>
<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>
<!--something code in here-->
</header>

<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>
<section id="section1">
<h2>Section 1</h2>
<p>This is the content of section 1.</p>
</section>
<section id="section2">
<h2>Section 2</h2>
<p>This is the content of section 2.</p>
</section>
<section id="section3">
<h2>Section 3</h2>
<p>This is the content of section 3.</p>
</section>
{{ content }}
</main>
</div>

Expand Down

0 comments on commit 7334cbc

Please sign in to comment.