File tree Expand file tree Collapse file tree 4 files changed +54
-0
lines changed
test/fixtures/test-theme/_data Expand file tree Collapse file tree 4 files changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ # No parsable data. Just a file with a lone comment string. Is this a data
2
+ # file then?. This string is not accessible via `{{ site.data.blank }}` either.
3
+ # Will output "false".
Original file line number Diff line number Diff line change
1
+ title : Test Hash
2
+
3
+ description : >
4
+ This file is used to test the output of various hash types to the plugin's
5
+ logger output.
6
+
7
+ This particular folded (uses '>') block of text will showcase outputting
8
+ long strings of text as wrapped to multiple lines of a set width. Another
9
+ related block would be the 'non-folded' type (uses '|') and its lines are
10
+ are new-line-aware.
11
+ baseurl : " /blog"
12
+ url : " "
13
+ markdown : kramdown
14
+ post_excerpts : enabled
15
+
16
+ # Complex Hash object with nest hash-maps, lists and sequences.
17
+ test-theme :
18
+ logo : logo.png
19
+ sidebar : enabled
20
+ theme_variant : Charcoal
21
+ recent_posts :
22
+ style : list
23
+ quantity : ' 4'
24
+ plugins :
25
+ - test-plugin
26
+ - another-test-plugin
27
+ navbar :
28
+ - title : About Me
29
+ page : about-me.html
30
+ tooltip : Get to know me here.
31
+ - title : Contact Us
32
+ page : contact-us.html
33
+ tooltip : Various ways to reach me.
34
+ gems :
35
+ - test-plugin
36
+ - another-test-plugin
Original file line number Diff line number Diff line change
1
+ # Side-menu navigation links
2
+
3
+ - title : Home
4
+ url : /
5
+ - title : About
6
+ url : /about/
7
+ - title : Contact
8
+ url : /contact/
9
+ - title : Link 1
10
+ url : /link-1.html
11
+ - title : Link 2
12
+ url : /link-2.html
Original file line number Diff line number Diff line change
1
+ >
2
+ No keys. Just a file with a lone string. Is this a data file then? This
3
+ string is still accessible via `{{ site.data.string }}` in the templates.
You can’t perform that action at this time.
0 commit comments