Skip to content

Commit

Permalink
Add favicon.ico and robots.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlaki committed Mar 2, 2024
1 parent 56fc904 commit 022f35a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ module.exports = config => {
config.addPassthroughCopy('./src/css/**');
config.addPassthroughCopy('./src/js/**');
config.addPassthroughCopy('./src/font/**');
config.addPassthroughCopy({ './src/img/favicon/favicon.ico': '/favicon.ico' });
config.addPassthroughCopy({ './src/robots.txt': '/robots.txt' });

config.addCollection('docs', collection => {
return [...collection.getFilteredByGlob('./src/docs/**/*.md')].sort((a, b) => {
Expand Down
2 changes: 2 additions & 0 deletions src/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow:

2 comments on commit 022f35a

@szepeviktor
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adamlaki src/img/favicon/favicon.ico is missing

@adamlaki
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, checked the wrong project. Fixed.

Please sign in to comment.