Skip to content

Commit eb32c06

Browse files
committed
Additional cleanup
1 parent 830126d commit eb32c06

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,8 @@ that have components specific to `Interlisp.github.io` are as follows:
227227
- `layout`
228228
- `shortcodes` - a simple snippet inside a content file that Hugo will render using a predefined template
229229
- `bibTable.html` - a shortcode used to format the [bibliography table](https://interlisp.org/bibliography/)
230-
- `static` - the data in this folder is copied directly into the folder structure of the home page
230+
- `static` - the data in this folder is copied directly into the folder structure of the home page
231+
- `css` - custom css files
231232
- `data` - holds `bibliography.json` used to create the [bibliography table](https://interlisp.org/bibliography/)
232233
- `documentation` - contains the pdf files referenced in the document section of the home page
233234
- `favicons` - contains `favicon.png` a small icon that browsers can use when referencing the website

config/_default/hugo.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@
1010
relativeURLs: false
1111

1212
# canonifyURLs: Convert relative URLs to absolute URLs
13-
canonifyURLs: true
13+
canonifyURLs: false
1414

15-
# enableRobotsTXT: Enable generation of Robots.txt file
16-
enableRobotsTXT: true
15+
# enableRobotsTXT: Enable generation of robots.txt file. When enabled this
16+
# will overwrite the default robots.txt file that disallows crawling.
17+
# Default to false and set to true for production in config/production/hugo.yaml
18+
enableRobotsTXT: false
1719

1820
# aasetDir: Location where Hugo looks for assets
1921
assetDir: static

config/production/hugo.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
baseURL: https://interlisp.org
1+
baseURL: https://interlisp.org
2+
3+
# enableRobotsTXT: Enable generation of Robots.txt file
4+
enableRobotsTXT: true

static/robots.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Placeholder file. Overwritten in production by setting enableRobotsTXT to true
2+
# See config/production/hugo.yaml
3+
#
4+
User-agent: *
5+
Disallow: /

0 commit comments

Comments
 (0)