diff --git a/package.json b/package.json index ec75d0f54fe80df2064d82bd7f232ae075c76548..51b4fb91a06801ec4dee41188b8914cb0164929e 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "description": "Premium and Open Source dashboard template with responsive and high quality UI.", "scripts": { "start": "npm-run-all clean css-main js-compile-standalone --parallel browsersync watch", + "start-incremental": "npm-run-all clean css-main js-compile-standalone --parallel browsersync watch-incremental", "build": "npm-run-all clean html-build css js assets-copy", "bundlesize": "bundlesize", "browsersync": "node build/browsersync.js", @@ -19,10 +20,12 @@ "css-lint": "stylelint \"scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache", "css-main": "npm-run-all css-compile css-prefix", "css-main-build": "npm-run-all css-lint css-compile css-prefix css-minify", - "watch": "npm-run-all --parallel watch-*", + "watch": "npm-run-all --parallel watch-css watch-js watch-html", + "watch-incremental": "npm-run-all --parallel watch-css watch-js watch-html-incremental", "watch-css": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"", "watch-js": "nodemon --watch js/ --ext js --exec \"npm run js-compile-standalone\"", "watch-html": "JEKYLL_ENV=development bundle exec jekyll build --watch", + "watch-html-incremental": "JEKYLL_ENV=development bundle exec jekyll build --watch --incremental", "js": "npm-run-all --sequential js-compile js-libs", "js-libs": "rm -rf dist/libs && mkdir dist/libs && node build/copy-libs.js", "js-lint": "eslint --cache --cache-location .cache/.eslintcache js build/", diff --git a/pages/_docs/breadcrumb.md b/pages/_docs/breadcrumb.md index b3152e4221905d908472c15036e44bec4dd96b80..cf72b9b6b85e439b8f1514e271fb9e54e655b92e 100644 --- a/pages/_docs/breadcrumb.md +++ b/pages/_docs/breadcrumb.md @@ -1,7 +1,7 @@ --- title: Breadcrumb menu: docs.breadcrumb -description: A breadcrumb navigation provide links back to each previous page the user navigated through, and shows the user's current location in a website. +description: Indicate the current page’s location within a navigational hierarchy that automatically adds separators via CSS. done: true --- diff --git a/pages/_docs/cards.md b/pages/_docs/cards.md index e0f7526fe829c354bfa24524cb4d45bcc4b9181e..f7950149b1a91247c22c4e992ec04067b8ed0b9c 100644 --- a/pages/_docs/cards.md +++ b/pages/_docs/cards.md @@ -9,15 +9,14 @@ The `.card` element is simply a container with a shadow, a border, a radius, and ### Default card {% example html columns=1 %} -{% include cards/card.html hide-options=true %} +{% include cards/card.html body="This is some text within a card body." %} {% endexample %} -### Advanced card +### Card with title and image {% example html columns=1 %} -{% include cards/card.html show-buttons=true show-footer=true %} +{% include cards/card.html img-top=true title="Card with title and image" %} {% endexample %} - ### Blog post card The best way to make your post eye-catching is adding an image to it. To do so, just add the image with the `.card-img-top` class. We've added the `.d-flex .flex-column` classes to the `.card-body` to have the author details be on the bottom of the card. @@ -55,211 +54,31 @@ If you want to create a couple of posts next to each other, add the `.row-deck` You can also add the image on the left side of the card. All you need do to is: add the `.card-aside` class to the element with the `.card` class. Then add the image in the `.card-aside-column` element. No worries, tabler will automatically center it and scale to right size: {% example html columns=3 %} -{% include cards/blog-single.html type="aside" liked=1 %} +{% include cards/blog-single.html type="aside" liked=1 article-id=3 %} {% endexample %} ### Color variations {% example html columns=3 %}
This is a longer card with supporting text below as a natural lead-in to - additional content. This content is a little bit longer.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
- -This card has supporting text below as a natural lead-in to additional - content.
-- Last updated 3 mins ago -
-This card has supporting text below as a natural lead-in to additional - content.
-- Last updated 3 mins ago -
-