1

Is it possible to reuse yaml fields inside one file? Check example below

baseurl: '/test'


field1: 'baseurl/qqq'

in this case field1 should become /test/qqq

kirqe
  • 2,431
  • 4
  • 37
  • 63
  • related: http://stackoverflow.com/questions/14487110/include-jekyll-liquid-template-data-in-a-yaml-variable ? – Sid Vishnoi Oct 17 '16 at 17:28
  • and it is not possible to reuse yaml variable data inside yaml front matter. you can include it in post though. but the answer here helps in a trick : http://stackoverflow.com/questions/14487110/include-jekyll-liquid-template-data-in-a-yaml-variable#answer-14650794 – Sid Vishnoi Oct 17 '16 at 17:32

0 Answers0