Skip to content

Commit

Permalink
renamed all twig and json files to no longer include .html (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Knox authored and sherakama committed May 7, 2018
1 parent fca3f51 commit 4bf9804
Show file tree
Hide file tree
Showing 82 changed files with 56 additions and 56 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = function(grunt) {
tasks: ['uglify']
},
twig: {
files: ['**/*.html.twig'],
files: ['**/*.twig'],
tasks: ['uglify', 'sass', 'styleguide']
}
},
Expand Down
2 changes: 1 addition & 1 deletion scss/components/atoms/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// .decanter-button--big - Big button
// .decanter-button--unstyled - Unstyled button
//
// Markup: ../../templates/components/atoms/buttons/buttons.html.twig
// Markup: ../../templates/components/atoms/buttons/buttons.twig
//
// Style guide: Atoms.Buttons
//
Expand Down
2 changes: 1 addition & 1 deletion scss/components/atoms/_skipnav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// the user down to an anchor or target at the beginning
// of the main content. Learn more at https://webaim.org/techniques/skipnav.
//
// Markup: ../../templates/components/atoms/skipnav/skipnav.html.twig
// Markup: ../../templates/components/atoms/skipnav/skipnav.twig
//
// Style guide: Atoms.Skipnav
//
Expand Down
2 changes: 1 addition & 1 deletion scss/components/molecules/_alerts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// .decanter-alert-error - Error Message
// .decanter-alert-info - Informative Message
//
// Markup: ../templates/components/molecules/alerts/alerts.html.twig
// Markup: ../templates/components/molecules/alerts/alerts.twig
//
// Style guide: Molecules.Alerts
//
Expand Down
2 changes: 1 addition & 1 deletion scss/components/molecules/_icon-block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//
// A postcard block with an icon (or images) and text.
//
// Markup: ../templates/components/molecules/icon-block/icon-block.html.twig
// Markup: ../templates/components/molecules/icon-block/icon-block.twig
//
// Style guide: Molecules.IconBlock
//
Expand Down
2 changes: 1 addition & 1 deletion scss/components/molecules/_icon-grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//
// Grid of icons (or images) with text.
//
// Markup: ../../templates/components/molecules/icon-grid/icon-grid.html.twig
// Markup: ../../templates/components/molecules/icon-grid/icon-grid.twig
//
// Style guide: Molecules.IconGrid
//
Expand Down
2 changes: 1 addition & 1 deletion scss/components/molecules/_main-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//
// A main navigation component with drop downs.
//
// Markup: ../../../templates/components/molecules/main-menu/main-menu.html.twig
// Markup: ../../../templates/components/molecules/main-menu/main-menu.twig
//
// Style guide: Molecules.MainMenu
//
Expand Down
2 changes: 1 addition & 1 deletion scss/components/molecules/_sidenav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//
// A side navigation component.
//
// Markup: ../../templates/components/molecules/sidenav/sidenav.html.twig
// Markup: ../../templates/components/molecules/sidenav/sidenav.twig
//
// Style guide: Molecules.Sidenav
//
Expand Down
2 changes: 1 addition & 1 deletion scss/components/organisms/_accordions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//
// .decanter-accordion--bordered - Bordered Version
//
// Markup: ../../templates/components/organisms/accordions/accordions.html.twig
// Markup: ../../templates/components/organisms/accordions/accordions.twig
//
// Style guide: Organisims.Accordion
//
Expand Down
6 changes: 3 additions & 3 deletions scss/core/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@

// Fonts
//
// Markup: ../../templates/core/fonts/fonts.html.twig
// Markup: ../../templates/core/fonts/fonts.twig
//
// Style guide: Core.Fonts

// Grid
//
// Markup: ../../templates/core/grid/grid.html.twig
// Markup: ../../templates/core/grid/grid.twig
//
// Style guide: Core.Grid

// Colors
//
// Markup: ../templates/core/colors/colors.html.twig
// Markup: ../templates/core/colors/colors.twig
//
// Style guide: Core.Colors

Expand Down
2 changes: 1 addition & 1 deletion scss/elements/_embed.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Responsive embed container to ensure that contents scale to the
// width of parent element while retaining an aspect ratio of 16:9.
//
// Markup: ../../templates/elements/embed/embed.html.twig
// Markup: ../../templates/elements/embed/embed.twig
//
// Style guide: Elements.EmbedContainer
//
Expand Down
2 changes: 1 addition & 1 deletion scss/elements/_links.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// .decanter-external-link - External Link
// .decanter-more-link - More Link
//
// Markup: ../../templates/elements/links/links.html.twig
// Markup: ../../templates/elements/links/links.twig
//
// Style guide: Elements.Links
//
Expand Down
2 changes: 1 addition & 1 deletion scss/elements/_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//
// Default styling for lists, including ordered and unordered lists.
//
// Markup: ../../templates/elements/lists/lists.html.twig
// Markup: ../../templates/elements/lists/lists.twig
//
// Style guide: Elements.Lists
//
Expand Down
2 changes: 1 addition & 1 deletion scss/elements/_quote.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//
// Default styling for a quote element.
//
// Markup: ../../templates/elements/quote/quote.html.twig
// Markup: ../../templates/elements/quote/quote.twig
//
// Style guide: Elements.Quote
//
Expand Down
2 changes: 1 addition & 1 deletion scss/elements/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//
// .decanter-table--borderless - Borderless Table
//
// Markup: ../../templates/elements/tables/tables.html.twig
// Markup: ../../templates/elements/tables/tables.twig
//
// Style guide: Elements.Tables
//
Expand Down
2 changes: 1 addition & 1 deletion scss/elements/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// .decanter-caption - Caption Font
// .decanter-credits - Credits Font
//
// Markup: ../../templates/elements/font-styles/font-styles.html.twig
// Markup: ../../templates/elements/font-styles/font-styles.twig
//
// Style guide: Elements.Typography
//
Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-atoms-buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ <h2 class="kss-title kss-title--level-2">
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/components/atoms/buttons/buttons.html.twig</code>
Markup: <code>../templates/components/atoms/buttons/buttons.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;a href=&quot;#&quot; class=&quot;decanter-button [modifier class]&quot;&gt;Button Title&lt;/a&gt;
</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-atoms-skipnav.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ <h2 class="kss-title kss-title--level-2">
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/components/atoms/skipnav/skipnav.html.twig</code>
Markup: <code>../templates/components/atoms/skipnav/skipnav.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;a href=&quot;#main-menu&quot; class=&quot;decanter-skipnav&quot;&gt;Skip to main navigation&lt;/a&gt;
</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-core-colors.html
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ <h2 class="kss-title kss-title--level-2">
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/core/colors/colors.html.twig</code>
Markup: <code>../templates/core/colors/colors.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;div class=&quot;decanter-width-one-sixth&quot; style=&quot;background: #2e2d29; color: #ffffff;&quot;&gt;
&lt;div&gt;Black&lt;/div&gt;
Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-core-fonts.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ <h6>Heading 6</h6>
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/core/fonts/fonts.html.twig</code>
Markup: <code>../templates/core/fonts/fonts.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html"> &lt;div class=&quot;decanter-sans&quot;&gt;
&lt;h2&gt;Source Sans Pro&lt;/h2&gt;
Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-core-grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ <h3>.decanter-width-one-fourth</h3>
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/core/grid/grid.html.twig</code>
Markup: <code>../templates/core/grid/grid.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">
&lt;h3&gt;.decanter-width-one-fourth&lt;/h3&gt;
Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-elements-embedcontainer.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ <h2 class="kss-title kss-title--level-2">
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/elements/embed/embed.html.twig</code>
Markup: <code>../templates/elements/embed/embed.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;div class=&quot;decanter-embed-container&quot; aria-label=&quot;16:9&quot;&gt;
&lt;iframe width=&quot;315&quot; height=&quot;560&quot; src=&quot;https://www.youtube.com/embed/_Nq4Z5i7lcs&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-elements-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h2 class="kss-title kss-title--level-2">
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/elements/links/links.html.twig</code>
Markup: <code>../templates/elements/links/links.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;p&gt;This is a &lt;a class=&quot;[modifier class]&quot; href=&quot;#&quot;&gt;Link&lt;/a&gt;&lt;/p&gt;
</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-elements-lists.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ <h2 class="kss-title kss-title--level-2">
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/elements/lists/lists.html.twig</code>
Markup: <code>../templates/elements/lists/lists.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;ol&gt;
&lt;li&gt;List Item&lt;/li&gt;
Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-elements-quote.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ <h2 class="kss-title kss-title--level-2">
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/elements/quote/quote.html.twig</code>
Markup: <code>../templates/elements/quote/quote.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;div class=&quot;decanter-quote&quot;&gt;
&lt;img class=&quot;decanter-quote__img&quot; src=&quot;../../../img/headshot.png&quot; alt=&quot;Jane Doe&quot;&gt;
Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-elements-tables.html
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ <h2 class="kss-title kss-title--level-2">
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/elements/tables/tables.html.twig</code>
Markup: <code>../templates/elements/tables/tables.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;table class=&quot;[modifier class]&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tr&gt;
Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-elements-typography.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ <h2 class="kss-title kss-title--level-2">
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/elements/font-styles/font-styles.html.twig</code>
Markup: <code>../templates/elements/font-styles/font-styles.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;p class=&quot;[modifier class]&quot;&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&lt;/p&gt;
</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-molecules-alerts.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ <h3 class="decanter-alert__heading">Alert Heading</h3>
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/components/molecules/alerts/alerts.html.twig</code>
Markup: <code>../templates/components/molecules/alerts/alerts.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;div class=&quot;decanter-alert [modifier class]&quot;&gt;
&lt;div class=&quot;decanter-alert__body&quot;&gt;
Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-molecules-iconblock.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ <h2 class="kss-title kss-title--level-2">
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/components/molecules/icon-block/icon-block.html.twig</code>
Markup: <code>../templates/components/molecules/icon-block/icon-block.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;div class=&quot;decanter-icon-block &quot;&gt;
&lt;img class=&quot;decanter-icon-block__img&quot; src=&quot;../../../img/circle.png&quot; alt=&quot;Please provide alt text&quot;&gt;
Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-molecules-icongrid.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ <h2>Item Four</h2>
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/components/molecules/icon-grid/icon-grid.html.twig</code>
Markup: <code>../templates/components/molecules/icon-grid/icon-grid.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;div class=&quot;decanter-icon-grid &quot;&gt;

Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-molecules-mainmenu.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ <h2 class="kss-title kss-title--level-2">
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/components/molecules/main-menu/main-menu.html.twig</code>
Markup: <code>../templates/components/molecules/main-menu/main-menu.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;div class=&quot;decanter-main-menu&quot;&gt;
&lt;div class=&quot;decanter-nav__container&quot;&gt;
Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-molecules-sidenav.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ <h3>Three Levels</h3>
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/components/molecules/sidenav/sidenav.html.twig</code>
Markup: <code>../templates/components/molecules/sidenav/sidenav.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;h3&gt;Single Level&lt;/h3&gt;
&lt;ul class=&quot;decanter-sidenav__list&quot;&gt;
Expand Down
2 changes: 1 addition & 1 deletion styleguide/item-organisims-accordion.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ <h2 class="kss-title kss-title--level-2">
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/components/organisms/accordions/accordions.html.twig</code>
Markup: <code>../templates/components/organisms/accordions/accordions.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;ul class=&quot;decanter-accordion [modifier class]&quot;&gt;
&lt;li&gt;
Expand Down
4 changes: 2 additions & 2 deletions styleguide/section-atoms.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ <h2 class="kss-title kss-title--level-2">
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/components/atoms/buttons/buttons.html.twig</code>
Markup: <code>../templates/components/atoms/buttons/buttons.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;a href=&quot;#&quot; class=&quot;decanter-button [modifier class]&quot;&gt;Button Title&lt;/a&gt;
</code></pre>
Expand Down Expand Up @@ -552,7 +552,7 @@ <h2 class="kss-title kss-title--level-2">
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/components/atoms/skipnav/skipnav.html.twig</code>
Markup: <code>../templates/components/atoms/skipnav/skipnav.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;a href=&quot;#main-menu&quot; class=&quot;decanter-skipnav&quot;&gt;Skip to main navigation&lt;/a&gt;
</code></pre>
Expand Down
6 changes: 3 additions & 3 deletions styleguide/section-core.html
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ <h2 class="kss-title kss-title--level-2">
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/core/colors/colors.html.twig</code>
Markup: <code>../templates/core/colors/colors.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">&lt;div class=&quot;decanter-width-one-sixth&quot; style=&quot;background: #2e2d29; color: #ffffff;&quot;&gt;
&lt;div&gt;Black&lt;/div&gt;
Expand Down Expand Up @@ -575,7 +575,7 @@ <h6>Heading 6</h6>
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/core/fonts/fonts.html.twig</code>
Markup: <code>../templates/core/fonts/fonts.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html"> &lt;div class=&quot;decanter-sans&quot;&gt;
&lt;h2&gt;Source Sans Pro&lt;/h2&gt;
Expand Down Expand Up @@ -721,7 +721,7 @@ <h3>.decanter-width-one-fourth</h3>
</div>
<details class="kss-markup kss-style">
<summary>
Markup: <code>../templates/core/grid/grid.html.twig</code>
Markup: <code>../templates/core/grid/grid.twig</code>
</summary>
<pre class="prettyprint linenums lang-html"><code data-language="html">
&lt;h3&gt;.decanter-width-one-fourth&lt;/h3&gt;
Expand Down
Loading

0 comments on commit 4bf9804

Please sign in to comment.