diff options
author | Starfall <us@starfall.systems> | 2021-10-23 13:30:40 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2023-12-05 10:00:35 -0600 |
commit | 6fdbf1b748a013b49c228658bb05893e1f01e359 (patch) | |
tree | 1e6fb4d0873705f72610e8a18e7c2cb8bed6c798 /sample | |
parent | 2eb81abb648d497b8b9e497ec00d58a893f3727e (diff) |
strike: implement meta[title] and meta[data] from file information
Diffstat (limited to 'sample')
-rw-r--r-- | sample/html/empty.html | 3 | ||||
-rw-r--r-- | sample/html/happy.html | 3 | ||||
-rw-r--r-- | sample/template.html | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/sample/html/empty.html b/sample/html/empty.html index da72fca..b8951a7 100644 --- a/sample/html/empty.html +++ b/sample/html/empty.html @@ -1,9 +1,10 @@ <!DOCTYPE html> <html lang=en-US dir=ltr> -<title>aaaa need a title</title> +<title>empty</title> <meta charset=UTF-8> <meta name=robots content="noindex, nofollow"> <meta name=viewport content="width=device-width, initial-scale=1"> +<meta http-equiv=last-modified content="Sat, 23 Oct 2021 02:55:53 GMT"> <section> diff --git a/sample/html/happy.html b/sample/html/happy.html index 734a9b7..3c239f1 100644 --- a/sample/html/happy.html +++ b/sample/html/happy.html @@ -1,9 +1,10 @@ <!DOCTYPE html> <html lang=en-US dir=ltr> -<title>aaaa need a title</title> +<title>happy</title> <meta charset=UTF-8> <meta name=robots content="noindex, nofollow"> <meta name=viewport content="width=device-width, initial-scale=1"> +<meta http-equiv=last-modified content="Sat, 23 Oct 2021 02:57:17 GMT"> <section> Hello, world! diff --git a/sample/template.html b/sample/template.html index c8e401a..2552906 100644 --- a/sample/template.html +++ b/sample/template.html @@ -1,9 +1,10 @@ <!DOCTYPE html> <html lang=en-US dir=ltr> -<title>aaaa need a title</title> +<title>{meta[title]}</title> <meta charset=UTF-8> <meta name=robots content="noindex, nofollow"> <meta name=viewport content="width=device-width, initial-scale=1"> +<meta http-equiv=last-modified content="{meta[date]}"> <section> {content} |