Skip to content

Commit 9910dd0

Browse files
Add text features menu item (#2256)
Co-authored-by: codecalm <codecalm@gmail.com>
1 parent 8d4f8d0 commit 9910dd0

File tree

9 files changed

+24
-15
lines changed

9 files changed

+24
-15
lines changed

.changeset/few-donuts-repeat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"preview": patch
3+
---
4+
5+
Add "text features" menu item

docs/eleventy.config.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ export default function (eleventyConfig) {
5050
if (m) {
5151
const matches = [...m]
5252

53-
console.log(matches);
54-
5553
if (matches[0] && matches[0][1]) {
5654
const lines = matches[0][1].split('\n');
5755

preview/pages/text-features.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
title: Text features
3+
page-header: Text features
4+
page-menu: extra.text-features
35
layout: default
46
permalink: text-features.html
5-
page-header: Text features
67
---
78

89
<div class="row">

shared/data/menu.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,11 @@
295295
"title": "Tasks",
296296
"url": "tasks.html"
297297
},
298+
"text-features": {
299+
"title": "Text features",
300+
"url": "text-features.html",
301+
"badge": "New"
302+
},
298303
"trial-ended": {
299304
"title": "Trial ended",
300305
"url": "trial-ended.html"

shared/data/site.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"googleMapsDevKey": "AIzaSyCL-BY8-sq12m0S9H-S_yMqDmcun3A9znw",
1616
"npmPackage": "@tabler/core",
1717
"tablerCssPlugins": [
18-
"tabler-flags",
19-
"tabler-socials",
20-
"tabler-payments",
21-
"tabler-vendors",
22-
"tabler-marketing"
18+
"flags",
19+
"socials",
20+
"payments",
21+
"vendors",
22+
"marketing"
2323
],
2424
"icons": {
2525
"link": "https://tabler.io/icons"

shared/data/sri.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"css": "sha384-N1s5kG0owk4MIaNFcxeMyWj0SC8Tdk5DgR9iBog70j4/ouZ6s3WuAXMnL6Kic8Ih",
3-
"css-rtl": "sha384-dN0/zBG2+Sh1vD4U2sGzbtb4tl7Y3NIB/+18p5ZFA2gqMo8kfswn6L3dBXTCSmHS",
2+
"css": "sha384-PNuJR6IM+Hp0aANQ1z6peAyPapQIcZh0/sl569LIaVmYYyKOB7PV54k5uylpk+oh",
3+
"css-rtl": "sha384-saFHPnOsrpGQJmrXnCuoRT01VuznxgWsM8CE1/6HtdvMeVagQ7T1uw7BBUCQ3q4q",
44
"css-flags": "sha384-J4S9gTOgB6a60d8OIMRu7vveDJCqxLAcDfzDN24CQxXmfi1iIFoU3uelSShCMfAD",
55
"css-flags-rtl": "sha384-Rh33piKJ6K8C1b07vnxSLBK5RJSnp4UhH37XTfJxWlnVUl3FqH3mW14kOy6nU1Bd",
66
"css-marketing": "sha384-0B7WRnNUoK4F4KsXMgsGPmUAKWpfPhAZhoPhzYREYqvThJY24XMJzs3bcH24fv7d",
@@ -15,7 +15,7 @@
1515
"css-themes-rtl": "sha384-+bJhK3cbUPk0SGCLUskjOBARViddapb+MJA1CbWjerZ46uyZbm6L1Gar3Ggs4c8h",
1616
"css-vendors-rtl": "sha384-xr+kIN4I9zenh4uC7LAOtXhj6eyFUn567Yr23QyaIq4OGRdPNcQ0e52f8T1wTSYh",
1717
"css-vendors": "sha384-cFz/XfWTmyCb5jkPFO3b51Vgc16vyrRzL3LLD2Ah7yFnpVjxN6nalaCc02Xg2vh4",
18-
"js": "sha384-uSpys8fjyVTPrXxPMi+NhnEMIp1YSGFZSCDrRHjYIUVdInIvlHft8JHLm6Oiw3vA",
18+
"js": "sha384-ZNN6+libWtqJC2cIhajMCNbC1sPF4g3sXY9SBq327nG28M0fs0ty1QMrrmxzUcXk",
1919
"js-theme": "sha384-xCA/37z74Ws4TlN18VkTDQ/T5bWJpvhV8k5y5Qp8qMKqKMHSHdAOcQ9qGPn0pUJj",
2020
"demo-css": "sha384-BUDq2P684xwRBf0GDlySvob+KJg4ko8y2K7njgvYBscmEuqoVVqJ75zcTDozwkFA",
2121
"demo-js": "sha384-UcTgbM9IZSOPHHuFa0R9H4TegQWoZkJKpeTjLV5hjem2k0CZ67Q4/bW2rT/Edf4Z"

shared/includes/layout/css.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
<!-- BEGIN PLUGINS STYLES -->
2828
{% for plugin in site.tablerCssPlugins -%}
2929
{% if layout-rtl -%}
30-
<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 %}/>
30+
<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 %}/>
3131
{% else -%}
32-
<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 %}/>
32+
<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 %}/>
3333
{% endif -%}
3434
{% endfor -%}
3535
<!-- END PLUGINS STYLES -->

shared/layouts/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% assign layout-dark = page.layout-dark | default: site.layout-dark -%}
22
<!doctype html>
33
{% include "layout/banner.html" %}
4-
{% assign title = page.title | default: layout.title %}
4+
{% assign title = title | default: layout.title %}
55
<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 %}>
66
<head>
77
<meta charset="utf-8"/>

shared/layouts/docs/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<link rel="stylesheet" href="/dist/css/tabler{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" />
1010
{% for plugin in site.tablerCssPlugins %}
1111
<link
12-
href="/dist/css/{{ plugin }}{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}"
12+
href="/dist/css/tabler-{{ plugin }}{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}"
1313
rel="stylesheet" />
1414
{% endfor %}
1515

0 commit comments

Comments
 (0)