diff options
author | Maël Gassmann <mael.gassmann@students.bfh.ch> | 2022-02-27 14:06:15 +0100 |
---|---|---|
committer | Maël Gassmann <mael.gassmann@students.bfh.ch> | 2022-02-27 15:09:36 +0100 |
commit | 7d3c9ec7368a5d25235e818c2c147ba7e89f6567 (patch) | |
tree | d655395133c9ed44f48f72e9070abc42a715b850 /res/template-website |
[+] Added base project
Diffstat (limited to 'res/template-website')
-rw-r--r-- | res/template-website/.config | 3 | ||||
-rw-r--r-- | res/template-website/pages/Home | 3 | ||||
-rw-r--r-- | res/template-website/pages/Posts | 1 | ||||
-rw-r--r-- | res/template-website/pages/link_Projects | 1 | ||||
-rw-r--r-- | res/template-website/posts/Welcome | 2 | ||||
-rw-r--r-- | res/template-website/resources/favicon.png | 0 | ||||
-rw-r--r-- | res/template-website/resources/style.css | 0 | ||||
-rw-r--r-- | res/template-website/templates/footer.html | 2 | ||||
-rw-r--r-- | res/template-website/templates/header.html | 16 | ||||
-rw-r--r-- | res/template-website/templates/menu_listing.html | 1 | ||||
-rw-r--r-- | res/template-website/templates/post_listing.html | 2 |
11 files changed, 31 insertions, 0 deletions
diff --git a/res/template-website/.config b/res/template-website/.config new file mode 100644 index 0000000..7956dad --- /dev/null +++ b/res/template-website/.config @@ -0,0 +1,3 @@ +author=John Doe +website=https://example.com/ +index=Home diff --git a/res/template-website/pages/Home b/res/template-website/pages/Home new file mode 100644 index 0000000..d35cb13 --- /dev/null +++ b/res/template-website/pages/Home @@ -0,0 +1,3 @@ +## Welcome + +Hi, enjoy my website. diff --git a/res/template-website/pages/Posts b/res/template-website/pages/Posts new file mode 100644 index 0000000..0d1ac2c --- /dev/null +++ b/res/template-website/pages/Posts @@ -0,0 +1 @@ +<ul>$list_post$</ul> diff --git a/res/template-website/pages/link_Projects b/res/template-website/pages/link_Projects new file mode 100644 index 0000000..d74c395 --- /dev/null +++ b/res/template-website/pages/link_Projects @@ -0,0 +1 @@ +https://git.example.com diff --git a/res/template-website/posts/Welcome b/res/template-website/posts/Welcome new file mode 100644 index 0000000..1fb30aa --- /dev/null +++ b/res/template-website/posts/Welcome @@ -0,0 +1,2 @@ +$date(05.10.2021)$ +first post diff --git a/res/template-website/resources/favicon.png b/res/template-website/resources/favicon.png new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/res/template-website/resources/favicon.png diff --git a/res/template-website/resources/style.css b/res/template-website/resources/style.css new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/res/template-website/resources/style.css diff --git a/res/template-website/templates/footer.html b/res/template-website/templates/footer.html new file mode 100644 index 0000000..7fb2bd6 --- /dev/null +++ b/res/template-website/templates/footer.html @@ -0,0 +1,2 @@ + </body> +</html> diff --git a/res/template-website/templates/header.html b/res/template-website/templates/header.html new file mode 100644 index 0000000..1dfcccf --- /dev/null +++ b/res/template-website/templates/header.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="description" content=""> + <meta name="author" content="$author$"> + <title>$author$ - $title$</title> + <link type="image/png" rel="icon" href="$res(favicon.png)$"> + <link rel="stylesheet" href="$res(style.css)$" type="text/css" media="all"> + </head> + <body> + <header> + <h1>$author$</h1> + <ul id="menu">$list_menu$</ul> + </header> diff --git a/res/template-website/templates/menu_listing.html b/res/template-website/templates/menu_listing.html new file mode 100644 index 0000000..9b080c7 --- /dev/null +++ b/res/template-website/templates/menu_listing.html @@ -0,0 +1 @@ +<li><a href="$link$">$title$</a></li> diff --git a/res/template-website/templates/post_listing.html b/res/template-website/templates/post_listing.html new file mode 100644 index 0000000..9f39bda --- /dev/null +++ b/res/template-website/templates/post_listing.html @@ -0,0 +1,2 @@ + +<li><a href="$link$">$title$ - $date$</a></li> |