diff options
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/footer.html | 5 | ||||
-rw-r--r-- | layouts/partials/head.html | 0 | ||||
-rw-r--r-- | layouts/partials/header.html | 33 |
3 files changed, 38 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..9492c2b --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,5 @@ +<footer> + +</footer> +</body> +</html>
\ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/partials/head.html diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..35b5cf7 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,33 @@ +<!doctype html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" + content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> + <meta http-equiv="X-UA-Compatible" content="ie=edge"> + {{ $sass := resources.Get "scss/less.scss" }} + {{ $style := $sass | resources.ToCSS }} + <link rel="stylesheet" href="{{ $style.Permalink }}"> + <link rel="stylesheet" href="//at.alicdn.com/t/font_1995642_svj67i6zduq.css"> + <title>常·九</title> +</head> +<body> +<div class="container"> + <div class="nav"> + <figure class="logo"> + <img src="/images/logo.png" alt=""> + </figure> + <ul class="nav-menu"> + <li> + <a href="">首页</a> + </li> + <li> + <a href="">系列</a> + </li> + <li> + <a href="">关于</a> + </li> + </ul> + <i class="icon icon-search"></i> + </div> +</div>
\ No newline at end of file |