Created
August 8, 2017 20:50
-
-
Save MLKrisJohnson/b9fbc0c8370c670bb0da98794ff6dd67 to your computer and use it in GitHub Desktop.
Bash script to generate a minimal HTML 5 document
This file contains hidden or 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
# Write a minimal HTML document to standard output | |
newhtml() { | |
cat <<END | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Title</title> | |
<!-- <link rel="stylesheet" href="style.css"> --> | |
<!-- <script src="script.js"></script> --> | |
</head> | |
<body> | |
<!-- page content --> | |
</body> | |
</html> | |
END | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment