mirror of
https://github.com/remoteintech/remote-jobs
synced 2024-12-31 22:58:46 +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( {
|
writePage( '404.html', notFoundTemplate( {
|
||||||
notFoundStyles
|
notFoundStyles
|
||||||
} ) );
|
} ) );
|
||||||
|
|
||||||
|
// Add empty robots.txt
|
||||||
|
console.log();
|
||||||
|
console.log( 'Writing empty robots.txt' );
|
||||||
|
writePage( 'robots.txt', '' );
|
||||||
|
|
||||||
console.log();
|
console.log();
|
||||||
console.log( 'Site files are ready in "site/build/"' );
|
console.log( 'Site files are ready in "site/build/"' );
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
|
|
||||||
<!-- Stylesheet -->
|
<!-- Stylesheet -->
|
||||||
{%- for stylesheet in notFoundStyles %}
|
{%- for stylesheet in notFoundStyles %}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ stylesheet.url }}" />
|
<link rel="stylesheet" type="text/css" href="{{ stylesheet.url }}" />
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
<!-- 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:// -->
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||||
|
|
Loading…
Reference in a new issue