added <main>
This commit is contained in:
parent
9aba0013cc
commit
8bf1a82941
2
g2e.awk
2
g2e.awk
|
@ -126,7 +126,7 @@ ARGIND==2 && FNR==1{
|
||||||
|
|
||||||
function finishfile(){
|
function finishfile(){
|
||||||
# finish writing the previous content file
|
# finish writing the previous content file
|
||||||
out = out " </body>\n</html>"
|
out = out "\t</main>\n </body>\n</html>"
|
||||||
print out > nameout
|
print out > nameout
|
||||||
}
|
}
|
||||||
function append(line){
|
function append(line){
|
||||||
|
|
|
@ -7,4 +7,7 @@
|
||||||
<link rel="stylesheet" href="../style.css" type="text/css" />
|
<link rel="stylesheet" href="../style.css" type="text/css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<header>
|
||||||
<h1>{title}</h1>
|
<h1>{title}</h1>
|
||||||
|
</header>
|
||||||
|
<main>
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
body{
|
body{
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
font-family:sans-serif;
|
|
||||||
}
|
}
|
||||||
pre{
|
pre{
|
||||||
background-color: #fee;
|
background-color: #eee;
|
||||||
padding:1em;
|
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote{
|
blockquote{
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
main h1{
|
||||||
|
font-size:xx-large;
|
||||||
|
}
|
||||||
th,td{
|
th,td{
|
||||||
border-style:ridge;
|
border-style:ridge;
|
||||||
padding:5px;
|
padding:5px;
|
||||||
|
|
Loading…
Reference in New Issue