switch to index.md file and use layout from interchange website
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,3 +5,4 @@ _site/
|
||||
# Ignore folders generated by Bundler
|
||||
.bundle/
|
||||
vendor/
|
||||
.idea/
|
||||
|
||||
26
_layouts/default.html
Normal file
26
_layouts/default.html
Normal 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
37
assets/global.css
Normal 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%;
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
Hello World
|
||||
Reference in New Issue
Block a user