From 62fd5ab8a9f71840b01bcaa2d5680eab807bd724 Mon Sep 17 00:00:00 2001 From: codecalm Date: Wed, 25 Dec 2019 23:12:23 +0100 Subject: [PATCH] sidebar menu 3rd level --- pages/_data/menu.yml | 10 +++++++++ pages/_includes/layout/homepage.html | 8 ------- pages/_includes/layout/menu-aside.html | 30 +++++++++++++++++++++----- pages/invoice.html | 1 + pages/tmp.html | 1 + scss/layout/_layout.scss | 4 ++++ 6 files changed, 41 insertions(+), 13 deletions(-) diff --git a/pages/_data/menu.yml b/pages/_data/menu.yml index 714da9e7c..459cb9872 100644 --- a/pages/_data/menu.yml +++ b/pages/_data/menu.yml @@ -72,6 +72,16 @@ charts: title: Charts icon: pie-chart +a: + title: A + icon: menu + children: + b: + title: B + children: + c: + title: C + url: tmp.html layouts: title: Layouts diff --git a/pages/_includes/layout/homepage.html b/pages/_includes/layout/homepage.html index 6a1c93d38..9c0c762d8 100644 --- a/pages/_includes/layout/homepage.html +++ b/pages/_includes/layout/homepage.html @@ -63,14 +63,6 @@
{% include cards/small-stats.html color="yellow" chart-type="pie" chart-data="22/100" color="yellow" count="132" subtitle="Comments" description="16 waiting" %}
- - -
- {% for article in site.data.articles limit: 3 offset: 4 %} -
- {% include cards/blog-single.html article=article type="image" %} -
- {% endfor %}
{% include cards/invoices.html %} diff --git a/pages/_includes/layout/menu-aside.html b/pages/_includes/layout/menu-aside.html index c6e5ccddb..1af54818e 100644 --- a/pages/_includes/layout/menu-aside.html +++ b/pages/_includes/layout/menu-aside.html @@ -5,7 +5,7 @@ {% for level-1 in site.data.menu %}