From 86e1367d48cabb48d25fdef4c91afde1b9626fc8 Mon Sep 17 00:00:00 2001 From: Blog Manager Robot Date: Mon, 17 Oct 2022 22:12:47 +0000 Subject: [PATCH] Update nav --- Web/templates/dashboard/_blog_nav.html.ep | 19 ++++++++++++++++++ Web/templates/dashboard/blog.html.ep | 20 +------------------ Web/templates/dashboard/blog_post.html.ep | 9 +-------- .../dashboard/blog_post_create.html.ep | 9 +-------- Web/templates/dashboard/blog_posts.html.ep | 9 +-------- 5 files changed, 23 insertions(+), 43 deletions(-) create mode 100644 Web/templates/dashboard/_blog_nav.html.ep diff --git a/Web/templates/dashboard/_blog_nav.html.ep b/Web/templates/dashboard/_blog_nav.html.ep new file mode 100644 index 0000000..4b92e34 --- /dev/null +++ b/Web/templates/dashboard/_blog_nav.html.ep @@ -0,0 +1,19 @@ + + +

<%= $blog->domain->name %>

+ +
+ +
diff --git a/Web/templates/dashboard/blog.html.ep b/Web/templates/dashboard/blog.html.ep index 3754cca..c2f0f14 100644 --- a/Web/templates/dashboard/blog.html.ep +++ b/Web/templates/dashboard/blog.html.ep @@ -1,24 +1,6 @@ % layout 'standard', title => 'Dashboard', sb_active => 'dashboard'; - - -

<%= $blog->domain->name %>

- -
- -
+%= include 'dashboard/_blog_nav'