mirror of
https://github.com/remoteintech/remote-jobs
synced 2024-12-29 05:43:09 +00:00
Merge pull request #1306 from rylim/feature/issue1153-add-robots-txt
This commit is contained in:
commit
47be42f793
2 changed files with 7 additions and 2 deletions
|
@ -291,6 +291,11 @@ async function buildSite() {
|
|||
writePage( '404.html', notFoundTemplate( {
|
||||
notFoundStyles
|
||||
} ) );
|
||||
|
||||
// Add empty robots.txt
|
||||
console.log();
|
||||
console.log( 'Writing empty robots.txt' );
|
||||
writePage( 'robots.txt', '' );
|
||||
|
||||
console.log();
|
||||
console.log( 'Site files are ready in "site/build/"' );
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
|
||||
<!-- Stylesheet -->
|
||||
{%- for stylesheet in notFoundStyles %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ stylesheet.url }}" />
|
||||
{%- endfor %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ stylesheet.url }}" />
|
||||
{%- endfor %}
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
|
|
Loading…
Reference in a new issue