mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Merge pull request #1609 from harding/chain-size-in-translation-string
Translations: variablize chain size in translation strings
This commit is contained in:
commit
5472d7ebea
4 changed files with 21 additions and 11 deletions
|
@ -80,6 +80,9 @@ module Jekyll
|
|||
text = ar[id]
|
||||
end
|
||||
end
|
||||
#interpret Liquid templating in string
|
||||
text = Liquid::Template.parse(text).render context
|
||||
|
||||
#replace urls and anchors in string
|
||||
url = site['loc'][lang]['url']
|
||||
url.each do |key,value|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue