diff options
Diffstat (limited to 'theme')
l--------- | theme/css/01-responsivity.css | 1 | ||||
-rw-r--r-- | theme/html/index.html | 13 | ||||
l--------- | theme/html/menu.html | 1 | ||||
-rw-r--r-- | theme/html/menu_logo.html | 3 | ||||
-rw-r--r-- | theme/html/menu_section.html | 10 | ||||
-rw-r--r-- | theme/html/page.html | 9 | ||||
-rw-r--r-- | theme/html/post.html | 8 |
7 files changed, 45 insertions, 0 deletions
diff --git a/theme/css/01-responsivity.css b/theme/css/01-responsivity.css new file mode 120000 index 0000000..27c2fa4 --- /dev/null +++ b/theme/css/01-responsivity.css @@ -0,0 +1 @@ +/var/www/html/css/responsivity.css
\ No newline at end of file diff --git a/theme/html/index.html b/theme/html/index.html new file mode 100644 index 0000000..8685a45 --- /dev/null +++ b/theme/html/index.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html class="{{section}}" lang="ru"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta> + <meta name="color-scheme" content="dark light"></meta> + + <title>{{title}} - {{s_title}}</title> + <link rel="stylesheet" href="{{s_root}}/_/style.css"> + <body> +{{menu}} +{{page}} + </body> +</html> diff --git a/theme/html/menu.html b/theme/html/menu.html new file mode 120000 index 0000000..1796574 --- /dev/null +++ b/theme/html/menu.html @@ -0,0 +1 @@ +/var/www/html/files/header.html
\ No newline at end of file diff --git a/theme/html/menu_logo.html b/theme/html/menu_logo.html new file mode 100644 index 0000000..25e5bdb --- /dev/null +++ b/theme/html/menu_logo.html @@ -0,0 +1,3 @@ +<a class="logo" href="{{s_root}}"> + <img src="{{s_root}}/_/imgs/logo.png"> +</a> diff --git a/theme/html/menu_section.html b/theme/html/menu_section.html new file mode 100644 index 0000000..c4f44d3 --- /dev/null +++ b/theme/html/menu_section.html @@ -0,0 +1,10 @@ +<!-- menu_section --> +<div class="section {{current}}"> + <a class="title" href="{{s_root}}/{{url}}/"> +{{title}} + </a> + <div class="subs"> +{{subs}} + </div> +</div> +<!-- /menu_section--> diff --git a/theme/html/page.html b/theme/html/page.html new file mode 100644 index 0000000..2fc1ebd --- /dev/null +++ b/theme/html/page.html @@ -0,0 +1,9 @@ +<!-- page --> +<div class="posts"> +{{posts}} +</div> +<div class="pagination {{has-prev}} {{has-next}}"> + <a class="prev" href="{{s_root}}/{{prev-url}}/">Назад</a> + <a class="next" href="{{s_root}}/{{next-url}}/">Вперёд</a> +</div> +<!-- /page --> diff --git a/theme/html/post.html b/theme/html/post.html new file mode 100644 index 0000000..05d76c3 --- /dev/null +++ b/theme/html/post.html @@ -0,0 +1,8 @@ +<!-- post --> +<div class="post"> + <h1><a href="{{s_root}}/{{url}}/">{{title}}</a></h1> + <div class="content"> +{{html}} + </div> +</div> +<!-- /post --> |