Skip to content

Commit

Permalink
10.6.2 tweaks (#653)
Browse files Browse the repository at this point in the history
* Proper node-pl pa11y url

* Generator js name

* Update generator to not export demo twig/yaml within index.js

* Fix extra block region in article.twig
  • Loading branch information
illepic committed Nov 20, 2019
1 parent 568959b commit e62ccbb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 19 deletions.
15 changes: 5 additions & 10 deletions source/default/_patterns/05-pages/article.twig
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{% extends '@templates/site-container.twig' %}
{% block content %}

{% block content %}
{% include '@organisms/article/_article.twig' with {
article: article_demo
} %}
{% endblock content %}


{% endblock %}
{% block content %}
{% include '@organisms/article/_article.twig' with {
article: article_demo
} %}
{% endblock content %}
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,5 @@
import '<%= cleanPatternType %>/<%= name %>';

// Import demo assets
import twig from './<%= name %>s.twig';
import yaml from './<%= name %>s.yml';

export default {
twig,
yaml,
};
import './<%= name %>s.twig';
import './<%= name %>s.yml';
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* <%= camelCaseName %>
* <%= name %>
*/

import $ from 'jquery';
Expand Down
2 changes: 1 addition & 1 deletion tools/tests/accessibility/pa11y.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { PL_BASE_DOMAIN } = process.env;

// The PL_BASE_DOMAIN environment variable should be set to override the default.
const plRootDomain = PL_BASE_DOMAIN || '0.0.0.0:8080';
const plRoot = `http://${plRootDomain}/app-pl/pl`;
const plRoot = `http://${plRootDomain}/app-node-pl/pl`;

// urls comes from particle, includes all demo paths from atoms+
let urls = componentPaths.map(partial => `${plRoot}/${partial}`);
Expand Down

0 comments on commit e62ccbb

Please sign in to comment.