Created
September 6, 2022 23:39
-
-
Save JanMiksovsky/0d41ea862f2d08cbd2f6fcd805683511 to your computer and use it in GitHub Desktop.
Simple toy site packaged as a YAML file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
index.html: | | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width,initial-scale=1" /> | |
<link rel="stylesheet" href="styles/styles.css" /> | |
</head> | |
<body> | |
<h1>Home page</h1> | |
<p> | |
This tiny site can be packaged into a single file. | |
</p> | |
<p> | |
<a href="about.html">About</a> | |
</p> | |
</body> | |
</html> | |
about.html: | | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width,initial-scale=1" /> | |
<link rel="stylesheet" href="styles/styles.css" /> | |
</head> | |
<body> | |
<h1>About</h1> | |
<p> | |
This site can be served from loose files, or directly from a single file. | |
</p> | |
<p> | |
<a href="index.html">Back to Home</a> | |
</p> | |
</body> | |
</html> | |
styles: | |
styles.css: | | |
body { | |
color: #333; | |
font-family: Arial, Helvetica, sans-serif; | |
margin: 0; | |
padding: 5vmin; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment