Skip to content

Commit 196ee65

Browse files
Merge pull request #325 from FOSDEM/bastischubert/1769468326
updated routing and textfile handling for the json assets file
2 parents 449e5c0 + 632c420 commit 196ee65

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Rules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,10 @@ route '/404/' do
331331
"/404.html"
332332
end
333333

334+
route '/.well-known/assetlinks/' do
335+
"/.well-known/assetlinks.json"
336+
end
337+
334338
# send this one into oblivion, its compiled content is included in
335339
# layouts/default.html, but is not to be rendered as a file of its
336340
# own into output

config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pdf_grid: true
3434
# A list of file extensions that nanoc will consider to be textual rather than
3535
# binary. If an item with an extension not in this list is found, the file
3636
# will be considered as binary.
37-
text_extensions: [ 'css', 'erb', 'haml', 'htm', 'html', 'js', 'less', 'markdown', 'md', 'php', 'rb', 'sass', 'scss', 'txt', 'xhtml', 'xml', 'coffee', 'ics' ]
37+
text_extensions: [ 'css', 'erb', 'haml', 'htm', 'html', 'js', 'less', 'markdown', 'md', 'php', 'rb', 'sass', 'scss', 'txt', 'xhtml', 'xml', 'coffee', 'ics' , 'json' ]
3838

3939
# The path to the directory where all generated files will be written to. This
4040
# can be an absolute path starting with a slash, but it can also be path

0 commit comments

Comments
 (0)