diff options
author | Serghei Cebotari <serghei@cebotari.ru> | 2023-12-02 23:16:25 +0300 |
---|---|---|
committer | Serghei Cebotari <serghei@cebotari.ru> | 2023-12-02 23:16:25 +0300 |
commit | 0e0251936b3c267a6e760562e704c34d0e8666ad (patch) | |
tree | f4e83eb70d38664dfb0b27e699f0a626c797a745 | |
parent | 91709c3567372bdf698f8fcb0b76915834bbffc1 (diff) |
Organize sections
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | layouts/_default/section.html | 0 | ||||
-rw-r--r-- | layouts/_default/single.html | 0 | ||||
-rw-r--r-- | layouts/index.html | 14 | ||||
-rw-r--r-- | layouts/partials/sections/contacts.html (renamed from layouts/partials/body/contacts.html) | 0 | ||||
-rw-r--r-- | layouts/partials/sections/education.html (renamed from layouts/partials/body/education.html) | 0 | ||||
-rw-r--r-- | layouts/partials/sections/experience.html (renamed from layouts/partials/body/experience.html) | 0 | ||||
-rw-r--r-- | layouts/partials/sections/projects.html (renamed from layouts/partials/body/projects.html) | 0 | ||||
-rw-r--r-- | layouts/partials/sections/skills.html (renamed from layouts/partials/body/skills.html) | 0 | ||||
-rw-r--r-- | layouts/partials/style.html (renamed from layouts/partials/head/style.html) | 4 |
10 files changed, 10 insertions, 10 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index eb129ee..0dfb23f 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,7 +5,7 @@ <title>{{ .Site.Title }}</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta charset="utf-8" /> - {{ partial "head/style.html" . }} + {{ partial "style.html" . }} </head> <body> diff --git a/layouts/_default/section.html b/layouts/_default/section.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/_default/section.html diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/_default/single.html diff --git a/layouts/index.html b/layouts/index.html index 720ea37..cc59101 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,9 +1,9 @@ {{ define "main" }} -<page> - {{ partial "body/contacts.html" . }} - {{ partial "body/education.html" . }} - {{ partial "body/experience.html" . }} - {{ partial "body/projects.html" . }} - {{ partial "body/skills.html" . }} -</page> +<section class="page"> + {{ partial "sections/contacts.html" . }} + {{ partial "sections/education.html" . }} + {{ partial "sections/experience.html" . }} + {{ partial "sections/projects.html" . }} + {{ partial "sections/skills.html" . }} +</section> {{ end }}
\ No newline at end of file diff --git a/layouts/partials/body/contacts.html b/layouts/partials/sections/contacts.html index b87b8cb..b87b8cb 100644 --- a/layouts/partials/body/contacts.html +++ b/layouts/partials/sections/contacts.html diff --git a/layouts/partials/body/education.html b/layouts/partials/sections/education.html index f32f6ba..f32f6ba 100644 --- a/layouts/partials/body/education.html +++ b/layouts/partials/sections/education.html diff --git a/layouts/partials/body/experience.html b/layouts/partials/sections/experience.html index 5e25f37..5e25f37 100644 --- a/layouts/partials/body/experience.html +++ b/layouts/partials/sections/experience.html diff --git a/layouts/partials/body/projects.html b/layouts/partials/sections/projects.html index ab4b497..ab4b497 100644 --- a/layouts/partials/body/projects.html +++ b/layouts/partials/sections/projects.html diff --git a/layouts/partials/body/skills.html b/layouts/partials/sections/skills.html index 38dd515..38dd515 100644 --- a/layouts/partials/body/skills.html +++ b/layouts/partials/sections/skills.html diff --git a/layouts/partials/head/style.html b/layouts/partials/style.html index b2774c4..bccfb8f 100644 --- a/layouts/partials/head/style.html +++ b/layouts/partials/style.html @@ -38,7 +38,7 @@ line-height: 100%; } - page { + .page { background: white; display: block; margin: 0 auto; @@ -96,7 +96,7 @@ @media print { body, - page { + .page { background: white; margin: 0; box-shadow: 0 0 0 white; |