You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
515 B
Plaintext

5 years ago
#!/bin/bash
#
#
folder=${1:-template}
mkdir $folder
chmod 777 $folder
echo "<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>This is a sample page</title>
<!--
<meta name="Keywords" content=" ">
<meta name="Description" content=" ">
<link rel="icon" href=" " type="image/x-icon">
-->
<link rel="stylesheet" type="text/css" href="./style.css">
</head>
<body>
</body>
</html>" > $folder/index.html
touch $folder/style.css