switch to index.md file and use layout from interchange website

This commit is contained in:
2025-05-07 10:07:23 -07:00
parent c67baf638e
commit 2cb7fbb45f
5 changed files with 72 additions and 1 deletions

1
.gitignore vendored
View File

@@ -5,3 +5,4 @@ _site/
# Ignore folders generated by Bundler
.bundle/
vendor/
.idea/

26
_layouts/default.html Normal file
View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <link rel="icon" type="image/png" href="/assets/favicon-96x96.png" sizes="96x96" />-->
<!-- <link rel="icon" type="image/svg+xml" href="/assets/favicon.svg" />-->
<!-- <link rel="shortcut icon" href="/assets/favicon.ico" />-->
<!-- <link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png" />-->
<!-- <link rel="manifest" href="/assets/site.webmanifest" />-->
<link rel="stylesheet" href="/assets/global.css">
<title>{{ page.title }}</title>
</head>
<body>
<main>
{{ content }}
</main>
<footer>
copyright 2025 Brendan Chen
</footer>
</body>
</html>

37
assets/global.css Normal file
View File

@@ -0,0 +1,37 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
body {
background-color: white;
font-family: 'Inter', sans-serif;
color: black;
display: flex;
flex-direction: column;
align-items: center;
}
main {
max-width: 720px;
width: 100%;
}
footer {
max-width: 720px;
width: 100%;
padding-bottom: 64px;
color: dimgray;
}
a {
color: unset;
}
@media screen and (min-width: 720px) {
main {
padding-top: 32px;
}
}
img {
max-width: 100%;
}

View File

@@ -1 +0,0 @@
Hello World

8
index.md Normal file
View File

@@ -0,0 +1,8 @@
---
title: "Brendan Chen"
layout: default
---
# Brendan Chen
Hello World