0

Is there any way to loop through all jbake configuration options? I know that you can do config.[option] for single options. But is there a way to get all of them?

jonbullock
  • 339
  • 1
  • 11
Hengrui Jiang
  • 861
  • 1
  • 10
  • 23

1 Answers1

2

You can use the following code to loop through all the config options:

<%
config.each{ k, v -> println "${k}:${v}<br>"}
%>
jonbullock
  • 339
  • 1
  • 11