Skip to content

Commit

Permalink
Удаляет битую ссылку
Browse files Browse the repository at this point in the history
  • Loading branch information
pepelsbey committed Sep 6, 2023
1 parent dda23f7 commit 3c29a90
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
21 changes: 12 additions & 9 deletions eleventy.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
module.exports = function(config) {
config.addPassthroughCopy('src/favicon.ico');
config.addPassthroughCopy('src/manifest.json');
config.addPassthroughCopy('src/fonts');
config.addPassthroughCopy('src/images');
config.addPassthroughCopy('src/styles');
config.addPassthroughCopy('src/scripts');
config.addPassthroughCopy('src/{articles,people}/**/*.!(md)');

// Markdown Options

const markdownItAnchor = require('./src/helpers/markdown-it-anchor.js');
Expand Down Expand Up @@ -225,6 +217,18 @@ module.exports = function(config) {
}();
});

// Копирование

[
'src/favicon.ico',
'src/manifest.json',
'src/fonts',
'src/images',
'src/styles',
'src/scripts',
'src/{articles,people}/**/*.!(md)',
].forEach((path) => config.addPassthroughCopy(path));

return {
dir: {
input: 'src',
Expand All @@ -236,7 +240,6 @@ module.exports = function(config) {
dataTemplateEngine: 'njk',
markdownTemplateEngine: false,
htmlTemplateEngine: 'njk',
passthroughFileCopy: true,
templateFormats: [
'md', 'njk'
],
Expand Down
4 changes: 1 addition & 3 deletions src/articles/check-it-before-you-wreck-it/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,4 @@ _Проверка соответствия документа_ — хороши

**Спасибо, Майк!**

### Полезный совет — всегда [проверяй свой HTML](http://validator.w3.org/nu) под [рок-н-ролл](https://youtu.be/FVbVCZw5BPQ), играющий… ГРОМКО!

<iframe src="https://www.youtube.com/embed/FVbVCZw5BPQ" allowfullscreen></iframe>
### Полезный совет — всегда [проверяй свой HTML](http://validator.w3.org/nu) под рок-н-ролл, играющий… ГРОМКО!

0 comments on commit 3c29a90

Please sign in to comment.