mirror of
https://github.com/tabler/tabler.git
synced 2026-06-17 21:00:15 +04:00
Add text features menu item (#2256)
Co-authored-by: codecalm <codecalm@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"preview": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Add "text features" menu item
|
||||||
@@ -50,8 +50,6 @@ export default function (eleventyConfig) {
|
|||||||
if (m) {
|
if (m) {
|
||||||
const matches = [...m]
|
const matches = [...m]
|
||||||
|
|
||||||
console.log(matches);
|
|
||||||
|
|
||||||
if (matches[0] && matches[0][1]) {
|
if (matches[0] && matches[0][1]) {
|
||||||
const lines = matches[0][1].split('\n');
|
const lines = matches[0][1].split('\n');
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
---
|
---
|
||||||
title: Text features
|
title: Text features
|
||||||
|
page-header: Text features
|
||||||
|
page-menu: extra.text-features
|
||||||
layout: default
|
layout: default
|
||||||
permalink: text-features.html
|
permalink: text-features.html
|
||||||
page-header: Text features
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@@ -295,6 +295,11 @@
|
|||||||
"title": "Tasks",
|
"title": "Tasks",
|
||||||
"url": "tasks.html"
|
"url": "tasks.html"
|
||||||
},
|
},
|
||||||
|
"text-features": {
|
||||||
|
"title": "Text features",
|
||||||
|
"url": "text-features.html",
|
||||||
|
"badge": "New"
|
||||||
|
},
|
||||||
"trial-ended": {
|
"trial-ended": {
|
||||||
"title": "Trial ended",
|
"title": "Trial ended",
|
||||||
"url": "trial-ended.html"
|
"url": "trial-ended.html"
|
||||||
|
|||||||
@@ -15,11 +15,11 @@
|
|||||||
"googleMapsDevKey": "AIzaSyCL-BY8-sq12m0S9H-S_yMqDmcun3A9znw",
|
"googleMapsDevKey": "AIzaSyCL-BY8-sq12m0S9H-S_yMqDmcun3A9znw",
|
||||||
"npmPackage": "@tabler/core",
|
"npmPackage": "@tabler/core",
|
||||||
"tablerCssPlugins": [
|
"tablerCssPlugins": [
|
||||||
"tabler-flags",
|
"flags",
|
||||||
"tabler-socials",
|
"socials",
|
||||||
"tabler-payments",
|
"payments",
|
||||||
"tabler-vendors",
|
"vendors",
|
||||||
"tabler-marketing"
|
"marketing"
|
||||||
],
|
],
|
||||||
"icons": {
|
"icons": {
|
||||||
"link": "https://tabler.io/icons"
|
"link": "https://tabler.io/icons"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"css": "sha384-N1s5kG0owk4MIaNFcxeMyWj0SC8Tdk5DgR9iBog70j4/ouZ6s3WuAXMnL6Kic8Ih",
|
"css": "sha384-PNuJR6IM+Hp0aANQ1z6peAyPapQIcZh0/sl569LIaVmYYyKOB7PV54k5uylpk+oh",
|
||||||
"css-rtl": "sha384-dN0/zBG2+Sh1vD4U2sGzbtb4tl7Y3NIB/+18p5ZFA2gqMo8kfswn6L3dBXTCSmHS",
|
"css-rtl": "sha384-saFHPnOsrpGQJmrXnCuoRT01VuznxgWsM8CE1/6HtdvMeVagQ7T1uw7BBUCQ3q4q",
|
||||||
"css-flags": "sha384-J4S9gTOgB6a60d8OIMRu7vveDJCqxLAcDfzDN24CQxXmfi1iIFoU3uelSShCMfAD",
|
"css-flags": "sha384-J4S9gTOgB6a60d8OIMRu7vveDJCqxLAcDfzDN24CQxXmfi1iIFoU3uelSShCMfAD",
|
||||||
"css-flags-rtl": "sha384-Rh33piKJ6K8C1b07vnxSLBK5RJSnp4UhH37XTfJxWlnVUl3FqH3mW14kOy6nU1Bd",
|
"css-flags-rtl": "sha384-Rh33piKJ6K8C1b07vnxSLBK5RJSnp4UhH37XTfJxWlnVUl3FqH3mW14kOy6nU1Bd",
|
||||||
"css-marketing": "sha384-0B7WRnNUoK4F4KsXMgsGPmUAKWpfPhAZhoPhzYREYqvThJY24XMJzs3bcH24fv7d",
|
"css-marketing": "sha384-0B7WRnNUoK4F4KsXMgsGPmUAKWpfPhAZhoPhzYREYqvThJY24XMJzs3bcH24fv7d",
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
"css-themes-rtl": "sha384-+bJhK3cbUPk0SGCLUskjOBARViddapb+MJA1CbWjerZ46uyZbm6L1Gar3Ggs4c8h",
|
"css-themes-rtl": "sha384-+bJhK3cbUPk0SGCLUskjOBARViddapb+MJA1CbWjerZ46uyZbm6L1Gar3Ggs4c8h",
|
||||||
"css-vendors-rtl": "sha384-xr+kIN4I9zenh4uC7LAOtXhj6eyFUn567Yr23QyaIq4OGRdPNcQ0e52f8T1wTSYh",
|
"css-vendors-rtl": "sha384-xr+kIN4I9zenh4uC7LAOtXhj6eyFUn567Yr23QyaIq4OGRdPNcQ0e52f8T1wTSYh",
|
||||||
"css-vendors": "sha384-cFz/XfWTmyCb5jkPFO3b51Vgc16vyrRzL3LLD2Ah7yFnpVjxN6nalaCc02Xg2vh4",
|
"css-vendors": "sha384-cFz/XfWTmyCb5jkPFO3b51Vgc16vyrRzL3LLD2Ah7yFnpVjxN6nalaCc02Xg2vh4",
|
||||||
"js": "sha384-uSpys8fjyVTPrXxPMi+NhnEMIp1YSGFZSCDrRHjYIUVdInIvlHft8JHLm6Oiw3vA",
|
"js": "sha384-ZNN6+libWtqJC2cIhajMCNbC1sPF4g3sXY9SBq327nG28M0fs0ty1QMrrmxzUcXk",
|
||||||
"js-theme": "sha384-xCA/37z74Ws4TlN18VkTDQ/T5bWJpvhV8k5y5Qp8qMKqKMHSHdAOcQ9qGPn0pUJj",
|
"js-theme": "sha384-xCA/37z74Ws4TlN18VkTDQ/T5bWJpvhV8k5y5Qp8qMKqKMHSHdAOcQ9qGPn0pUJj",
|
||||||
"demo-css": "sha384-BUDq2P684xwRBf0GDlySvob+KJg4ko8y2K7njgvYBscmEuqoVVqJ75zcTDozwkFA",
|
"demo-css": "sha384-BUDq2P684xwRBf0GDlySvob+KJg4ko8y2K7njgvYBscmEuqoVVqJ75zcTDozwkFA",
|
||||||
"demo-js": "sha384-UcTgbM9IZSOPHHuFa0R9H4TegQWoZkJKpeTjLV5hjem2k0CZ67Q4/bW2rT/Edf4Z"
|
"demo-js": "sha384-UcTgbM9IZSOPHHuFa0R9H4TegQWoZkJKpeTjLV5hjem2k0CZ67Q4/bW2rT/Edf4Z"
|
||||||
|
|||||||
@@ -27,9 +27,9 @@
|
|||||||
<!-- BEGIN PLUGINS STYLES -->
|
<!-- BEGIN PLUGINS STYLES -->
|
||||||
{% for plugin in site.tablerCssPlugins -%}
|
{% for plugin in site.tablerCssPlugins -%}
|
||||||
{% if layout-rtl -%}
|
{% if layout-rtl -%}
|
||||||
<link href="{{ page | relative }}/dist/css/{{ plugin.name }}.rtl{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" rel="stylesheet"{% if environment != 'development' %} integrity="{{ sri[`${plugin.sri}-rtl`] }}"{% endif %}/>
|
<link href="{{ page | relative }}/dist/css/tabler-{{ plugin }}.rtl{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" rel="stylesheet"{% if environment != 'development' %} integrity="{{ sri[`css-${plugin}-rtl`] }}"{% endif %}/>
|
||||||
{% else -%}
|
{% else -%}
|
||||||
<link href="{{ page | relative }}/dist/css/{{ plugin.name }}{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" rel="stylesheet"{% if environment != 'development' %} integrity="{{ sri[plugin.sri] }}"{% endif %}/>
|
<link href="{{ page | relative }}/dist/css/tabler-{{ plugin }}{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" rel="stylesheet"{% if environment != 'development' %} integrity="{{ sri[`css-${plugin}`] }}"{% endif %}/>
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
<!-- END PLUGINS STYLES -->
|
<!-- END PLUGINS STYLES -->
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% assign layout-dark = page.layout-dark | default: site.layout-dark -%}
|
{% assign layout-dark = page.layout-dark | default: site.layout-dark -%}
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
{% include "layout/banner.html" %}
|
{% include "layout/banner.html" %}
|
||||||
{% assign title = page.title | default: layout.title %}
|
{% assign title = title | default: layout.title %}
|
||||||
<html lang="en"{% if layout-rtl %} dir="rtl" {% endif %}{% if layout.html-class or page.html-class %} class="{{ page.html-class | default: layout.html-class }}"{% endif %}>
|
<html lang="en"{% if layout-rtl %} dir="rtl" {% endif %}{% if layout.html-class or page.html-class %} class="{{ page.html-class | default: layout.html-class }}"{% endif %}>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8"/>
|
<meta charset="utf-8"/>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<link rel="stylesheet" href="/dist/css/tabler{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" />
|
<link rel="stylesheet" href="/dist/css/tabler{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" />
|
||||||
{% for plugin in site.tablerCssPlugins %}
|
{% for plugin in site.tablerCssPlugins %}
|
||||||
<link
|
<link
|
||||||
href="/dist/css/{{ plugin }}{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}"
|
href="/dist/css/tabler-{{ plugin }}{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}"
|
||||||
rel="stylesheet" />
|
rel="stylesheet" />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user