mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
New Bitcoin Core subsite
This commit contains a large number of contributions from Saïvann Carignan.
This commit is contained in:
parent
c4517a951e
commit
706c791e92
85 changed files with 17420 additions and 88 deletions
|
@ -48,6 +48,10 @@ module Jekyll
|
|||
dst = locs[lang]['url'][id]
|
||||
next if dst.nil? or dst == ''
|
||||
src = file
|
||||
## For files ending in a slash, such as path/to/dir/, give them
|
||||
## the index.html file name
|
||||
dst.gsub!(/\/$/, '/index')
|
||||
|
||||
dst = dst+'.html'
|
||||
site.pages << TranslatePage.new(site, site.source, lang, '_templates', src, lang, dst)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue