Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #453 from StevenBlack/jsj

Added a reference and link to Jon and Brian's discussion of Assemble on ...
  • Loading branch information...
commit f9dcc0de963fa5b4028bc78c5b8aada919167488 2 parents 0d1e906 + 15f0bd0
@jonschlinkert jonschlinkert authored
View
6 README.md
@@ -14,6 +14,9 @@
...and of course, we use Assemble to build the project's own documentation [http://assemble.io](http://assemble.io):
+**For more:** hear Jon Schlinkert and Brian Woodward discuss Assemble on **Episode 98 of the [Javascript Jabber Podcast](http://javascriptjabber.com/098-jsj-assemble-io-with-brian-woodward-and-jon-schlinkert/)**.
+
+
![image](https://f.cloud.github.com/assets/383994/1463257/f031bcfe-4525-11e3-9a03-89a17eee7518.png)
## The "assemble" task
@@ -278,6 +281,7 @@ Here are some related projects you might be interested in from the [Assemble](ht
+ [assemble-contrib-i18n](https://github.com/assemble/assemble-contrib-i18n): Plugin for adding i18n support to Assemble projects.
+ [assemble-contrib-lunr](https://github.com/assemble/assemble-contrib-lunr): Assemble plugin for creating a search engine within your static site using lunr.js.
+ [assemble-contrib-markdown](https://github.com/assemble/assemble-contrib-markdown): HEADS UP! This isn't ready for prime time! Convert markdown files to HTML using marked.js. This plugin is an alternative to Assemble's markdown Handlebars helpers. Both are useful in different scenarios.
++ [assemble-contrib-pagination](https://github.com/assemble/assemble-contrib-pagination): Pagination plugin for Assemble, the static site generator for Grunt.js and Yeoman. This plugin enables adding pagable list pages.
+ [assemble-contrib-permalinks](https://github.com/assemble/assemble-contrib-permalinks): Permalinks plugin for Assemble, the static site generator for Grunt.js and Yeoman. This plugin enables powerful and configurable URI replacement patterns, presets, uses Moment.js for parsing dates, and much more.
+ [assemble-contrib-sitemap](https://github.com/assemble/assemble-contrib-sitemap): Sitemap generator plugin for Assemble
+ [assemble-contrib-toc](https://github.com/assemble/assemble-contrib-toc): Create a table of contents in the generated HTML, using Cheerio.js
@@ -342,7 +346,7 @@ Released under the MIT license
***
-_This file was generated by [grunt-readme](https://github.com/assemble/grunt-readme) on Thursday, February 20, 2014._
+_This file was generated by [grunt-readme](https://github.com/assemble/grunt-readme) on Thursday, February 27, 2014._
[grunt]: http://gruntjs.com/
[Getting Started]: https://github.com/gruntjs/grunt/blob/devel/docs/getting_started.md
View
2  bower.json
@@ -1,6 +1,6 @@
{
"name": "assemble",
- "version": "0.4.35",
+ "version": "0.4.36",
"main": [
"./lib/assemble"
]
View
3  docs/README.tmpl.md
@@ -14,6 +14,9 @@
...and of course, we use Assemble to build the project's own documentation [http://assemble.io](http://assemble.io):
+**For more:** hear Jon Schlinkert and Brian Woodward discuss Assemble on **Episode 98 of the [Javascript Jabber Podcast](http://javascriptjabber.com/098-jsj-assemble-io-with-brian-woodward-and-jon-schlinkert/)**.
+
+
![image](https://f.cloud.github.com/assets/383994/1463257/f031bcfe-4525-11e3-9a03-89a17eee7518.png)
## The "assemble" task
View
168 docs/plugins.json
@@ -7,7 +7,7 @@
"owner": {
"login": "assemble",
"id": 2645080,
- "avatar_url": "https://gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "avatar_url": "https://avatars.githubusercontent.com/u/2645080",
"gravatar_id": "d68b5947524ac7869e76da923a228dcf",
"url": "https://api.github.com/users/assemble",
"html_url": "https://github.com/assemble",
@@ -64,14 +64,14 @@
"labels_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/labels{/name}",
"releases_url": "https://api.github.com/repos/assemble/assemble-contrib-anchors/releases{/id}",
"created_at": "2013-11-09T16:13:03Z",
- "updated_at": "2013-12-21T06:12:15Z",
- "pushed_at": "2013-11-28T19:11:13Z",
+ "updated_at": "2014-02-27T15:02:29Z",
+ "pushed_at": "2014-02-27T15:02:28Z",
"git_url": "git://github.com/assemble/assemble-contrib-anchors.git",
"ssh_url": "git@github.com:assemble/assemble-contrib-anchors.git",
"clone_url": "https://github.com/assemble/assemble-contrib-anchors.git",
"svn_url": "https://github.com/assemble/assemble-contrib-anchors",
"homepage": "http://assemble.github.io/assemble-contrib-anchors-example/components.html",
- "size": 125,
+ "size": 160,
"stargazers_count": 3,
"watchers_count": 3,
"language": "JavaScript",
@@ -101,7 +101,7 @@
"owner": {
"login": "assemble",
"id": 2645080,
- "avatar_url": "https://gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "avatar_url": "https://avatars.githubusercontent.com/u/2645080",
"gravatar_id": "d68b5947524ac7869e76da923a228dcf",
"url": "https://api.github.com/users/assemble",
"html_url": "https://github.com/assemble",
@@ -158,14 +158,14 @@
"labels_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/labels{/name}",
"releases_url": "https://api.github.com/repos/assemble/assemble-contrib-contextual/releases{/id}",
"created_at": "2013-10-14T14:58:28Z",
- "updated_at": "2013-12-31T21:17:04Z",
- "pushed_at": "2013-11-28T19:37:34Z",
+ "updated_at": "2014-02-27T14:44:02Z",
+ "pushed_at": "2014-02-27T14:44:02Z",
"git_url": "git://github.com/assemble/assemble-contrib-contextual.git",
"ssh_url": "git@github.com:assemble/assemble-contrib-contextual.git",
"clone_url": "https://github.com/assemble/assemble-contrib-contextual.git",
"svn_url": "https://github.com/assemble/assemble-contrib-contextual",
"homepage": null,
- "size": 123,
+ "size": 140,
"stargazers_count": 3,
"watchers_count": 3,
"language": "JavaScript",
@@ -195,7 +195,7 @@
"owner": {
"login": "assemble",
"id": 2645080,
- "avatar_url": "https://gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "avatar_url": "https://avatars.githubusercontent.com/u/2645080",
"gravatar_id": "d68b5947524ac7869e76da923a228dcf",
"url": "https://api.github.com/users/assemble",
"html_url": "https://github.com/assemble",
@@ -252,14 +252,14 @@
"labels_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/labels{/name}",
"releases_url": "https://api.github.com/repos/assemble/assemble-contrib-decompress/releases{/id}",
"created_at": "2013-11-28T17:49:30Z",
- "updated_at": "2013-11-29T06:55:56Z",
- "pushed_at": "2013-11-28T19:05:14Z",
+ "updated_at": "2014-02-27T11:57:56Z",
+ "pushed_at": "2014-02-27T11:57:56Z",
"git_url": "git://github.com/assemble/assemble-contrib-decompress.git",
"ssh_url": "git@github.com:assemble/assemble-contrib-decompress.git",
"clone_url": "https://github.com/assemble/assemble-contrib-decompress.git",
"svn_url": "https://github.com/assemble/assemble-contrib-decompress",
"homepage": null,
- "size": 116,
+ "size": 132,
"stargazers_count": 2,
"watchers_count": 2,
"language": "JavaScript",
@@ -289,7 +289,7 @@
"owner": {
"login": "assemble",
"id": 2645080,
- "avatar_url": "https://gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "avatar_url": "https://avatars.githubusercontent.com/u/2645080",
"gravatar_id": "d68b5947524ac7869e76da923a228dcf",
"url": "https://api.github.com/users/assemble",
"html_url": "https://github.com/assemble",
@@ -353,7 +353,7 @@
"clone_url": "https://github.com/assemble/assemble-contrib-download.git",
"svn_url": "https://github.com/assemble/assemble-contrib-download",
"homepage": null,
- "size": 136,
+ "size": 148,
"stargazers_count": 3,
"watchers_count": 3,
"language": "JavaScript",
@@ -383,7 +383,7 @@
"owner": {
"login": "assemble",
"id": 2645080,
- "avatar_url": "https://gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "avatar_url": "https://avatars.githubusercontent.com/u/2645080",
"gravatar_id": "d68b5947524ac7869e76da923a228dcf",
"url": "https://api.github.com/users/assemble",
"html_url": "https://github.com/assemble",
@@ -440,26 +440,26 @@
"labels_url": "https://api.github.com/repos/assemble/assemble-contrib-i18n/labels{/name}",
"releases_url": "https://api.github.com/repos/assemble/assemble-contrib-i18n/releases{/id}",
"created_at": "2013-12-20T22:02:30Z",
- "updated_at": "2014-02-20T16:02:15Z",
- "pushed_at": "2014-02-20T16:02:13Z",
+ "updated_at": "2014-02-22T19:56:36Z",
+ "pushed_at": "2014-02-22T19:56:36Z",
"git_url": "git://github.com/assemble/assemble-contrib-i18n.git",
"ssh_url": "git@github.com:assemble/assemble-contrib-i18n.git",
"clone_url": "https://github.com/assemble/assemble-contrib-i18n.git",
"svn_url": "https://github.com/assemble/assemble-contrib-i18n",
"homepage": null,
- "size": 102,
- "stargazers_count": 3,
- "watchers_count": 3,
+ "size": 344,
+ "stargazers_count": 6,
+ "watchers_count": 6,
"language": "JavaScript",
"has_issues": true,
"has_downloads": true,
"has_wiki": false,
"forks_count": 4,
"mirror_url": null,
- "open_issues_count": 3,
+ "open_issues_count": 4,
"forks": 4,
- "open_issues": 3,
- "watchers": 3,
+ "open_issues": 4,
+ "watchers": 6,
"default_branch": "master",
"master_branch": "master",
"permissions": {
@@ -477,7 +477,7 @@
"owner": {
"login": "assemble",
"id": 2645080,
- "avatar_url": "https://gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "avatar_url": "https://avatars.githubusercontent.com/u/2645080",
"gravatar_id": "d68b5947524ac7869e76da923a228dcf",
"url": "https://api.github.com/users/assemble",
"html_url": "https://github.com/assemble",
@@ -571,7 +571,7 @@
"owner": {
"login": "assemble",
"id": 2645080,
- "avatar_url": "https://gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "avatar_url": "https://avatars.githubusercontent.com/u/2645080",
"gravatar_id": "d68b5947524ac7869e76da923a228dcf",
"url": "https://api.github.com/users/assemble",
"html_url": "https://github.com/assemble",
@@ -659,13 +659,107 @@
"download": "https://github.com/assemble/assemble-contrib-markdown/archive/master.zip"
},
{
+ "id": 17188849,
+ "name": "assemble-contrib-pagination",
+ "full_name": "assemble/assemble-contrib-pagination",
+ "owner": {
+ "login": "assemble",
+ "id": 2645080,
+ "avatar_url": "https://avatars.githubusercontent.com/u/2645080",
+ "gravatar_id": "d68b5947524ac7869e76da923a228dcf",
+ "url": "https://api.github.com/users/assemble",
+ "html_url": "https://github.com/assemble",
+ "followers_url": "https://api.github.com/users/assemble/followers",
+ "following_url": "https://api.github.com/users/assemble/following{/other_user}",
+ "gists_url": "https://api.github.com/users/assemble/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/assemble/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/assemble/subscriptions",
+ "organizations_url": "https://api.github.com/users/assemble/orgs",
+ "repos_url": "https://api.github.com/users/assemble/repos",
+ "events_url": "https://api.github.com/users/assemble/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/assemble/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/assemble/assemble-contrib-pagination",
+ "description": "Pagination plugin for Assemble, the static site generator for Grunt.js and Yeoman. This plugin enables adding pagable list pages.",
+ "fork": false,
+ "url": "https://github.com/assemble/assemble-contrib-pagination",
+ "forks_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/forks",
+ "keys_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/teams",
+ "hooks_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/hooks",
+ "issue_events_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/events",
+ "assignees_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/tags",
+ "blobs_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/languages",
+ "stargazers_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/stargazers",
+ "contributors_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/contributors",
+ "subscribers_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/subscribers",
+ "subscription_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/subscription",
+ "commits_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/issues/comments/{number}",
+ "contents_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/merges",
+ "archive_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/downloads",
+ "issues_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/labels{/name}",
+ "releases_url": "https://api.github.com/repos/assemble/assemble-contrib-pagination/releases{/id}",
+ "created_at": "2014-02-25T21:29:19Z",
+ "updated_at": "2014-02-26T23:49:41Z",
+ "pushed_at": "2014-02-26T23:49:41Z",
+ "git_url": "git://github.com/assemble/assemble-contrib-pagination.git",
+ "ssh_url": "git@github.com:assemble/assemble-contrib-pagination.git",
+ "clone_url": "https://github.com/assemble/assemble-contrib-pagination.git",
+ "svn_url": "https://github.com/assemble/assemble-contrib-pagination",
+ "homepage": null,
+ "size": 0,
+ "stargazers_count": 2,
+ "watchers_count": 2,
+ "language": "JavaScript",
+ "has_issues": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "forks_count": 0,
+ "mirror_url": null,
+ "open_issues_count": 0,
+ "forks": 0,
+ "open_issues": 0,
+ "watchers": 2,
+ "default_branch": "master",
+ "master_branch": "master",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "fullname": "assemble/assemble-contrib-pagination",
+ "download": "https://github.com/assemble/assemble-contrib-pagination/archive/master.zip"
+ },
+ {
"id": 13308551,
"name": "assemble-contrib-permalinks",
"full_name": "assemble/assemble-contrib-permalinks",
"owner": {
"login": "assemble",
"id": 2645080,
- "avatar_url": "https://gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "avatar_url": "https://avatars.githubusercontent.com/u/2645080",
"gravatar_id": "d68b5947524ac7869e76da923a228dcf",
"url": "https://api.github.com/users/assemble",
"html_url": "https://github.com/assemble",
@@ -759,7 +853,7 @@
"owner": {
"login": "assemble",
"id": 2645080,
- "avatar_url": "https://gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "avatar_url": "https://avatars.githubusercontent.com/u/2645080",
"gravatar_id": "d68b5947524ac7869e76da923a228dcf",
"url": "https://api.github.com/users/assemble",
"html_url": "https://github.com/assemble",
@@ -816,26 +910,26 @@
"labels_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/labels{/name}",
"releases_url": "https://api.github.com/repos/assemble/assemble-contrib-sitemap/releases{/id}",
"created_at": "2013-10-02T06:48:32Z",
- "updated_at": "2014-02-16T03:25:07Z",
- "pushed_at": "2014-02-16T03:25:07Z",
+ "updated_at": "2014-02-23T01:51:20Z",
+ "pushed_at": "2014-02-23T01:51:20Z",
"git_url": "git://github.com/assemble/assemble-contrib-sitemap.git",
"ssh_url": "git@github.com:assemble/assemble-contrib-sitemap.git",
"clone_url": "https://github.com/assemble/assemble-contrib-sitemap.git",
"svn_url": "https://github.com/assemble/assemble-contrib-sitemap",
"homepage": null,
- "size": 415,
- "stargazers_count": 9,
- "watchers_count": 9,
+ "size": 467,
+ "stargazers_count": 10,
+ "watchers_count": 10,
"language": "JavaScript",
"has_issues": true,
"has_downloads": true,
"has_wiki": true,
"forks_count": 5,
"mirror_url": null,
- "open_issues_count": 4,
+ "open_issues_count": 3,
"forks": 5,
- "open_issues": 4,
- "watchers": 9,
+ "open_issues": 3,
+ "watchers": 10,
"default_branch": "master",
"master_branch": "master",
"permissions": {
@@ -853,7 +947,7 @@
"owner": {
"login": "assemble",
"id": 2645080,
- "avatar_url": "https://gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "avatar_url": "https://avatars.githubusercontent.com/u/2645080",
"gravatar_id": "d68b5947524ac7869e76da923a228dcf",
"url": "https://api.github.com/users/assemble",
"html_url": "https://github.com/assemble",
@@ -947,7 +1041,7 @@
"owner": {
"login": "assemble",
"id": 2645080,
- "avatar_url": "https://gravatar.com/avatar/d68b5947524ac7869e76da923a228dcf?d=https%3A%2F%2Fidenticons.github.com%2Ff6d99a3829b704a4a102b1bbec4499b0.png&r=x",
+ "avatar_url": "https://avatars.githubusercontent.com/u/2645080",
"gravatar_id": "d68b5947524ac7869e76da923a228dcf",
"url": "https://api.github.com/users/assemble",
"html_url": "https://github.com/assemble",
View
8 test/actual/yfm/block-literals.html
@@ -496,13 +496,13 @@
<pre><code class="json">
{
"_page": "all",
- "another": "old pond . . . a frog leaps in water’s sound\r\n",
+ "another": "old pond . . . a frog leaps in water’s sound\n",
"assets": "../../assets",
"basename": "block-literals",
"data": {
"title": "Block Literals",
- "poem": "\r\nold pond . . .\r\na frog leaps in\r\nwater’s sound\r\n",
- "another": "old pond . . . a frog leaps in water’s sound\r\n"
+ "poem": "\nold pond . . .\na frog leaps in\nwater’s sound\n",
+ "another": "old pond . . . a frog leaps in water’s sound\n"
},
"dest": "test/actual/yfm/block-literals.html",
"dirname": "test/actual/yfm",
@@ -540,7 +540,7 @@
"page": "<!DOCTYPE html>\n <html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n <title>Layout filename: '{{layout}}'</title>\n <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\">\n <link rel=\"stylesheet\" href=\"{{assets}}/validation.css\">\n </head>\n <body style=\"padding-top: 60px;\">\n <div class=\"container\">\n\n <!-- validate assets path -->\n <section id=\"validate\"></section>\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong class=\"text-muted\">{{page.src}}</strong> &#x2192; <strong class=\"text-success\">{{page.dest}}</strong></h4>\n </div>\n <hr>\n </div>\n\n {{pager pagination}}\n <hr>\n\n <div class=\"row\">\n <!-- Column: sidebar -->\n <div class=\"col-md-3\">\n <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n <!-- pagination -->\n {{nav pagination}}\n </div>\n </div>\n <!-- Column: content -->\n <div class=\"col-md-9\" role=\"main\">\n <div class=\"docs-section\">\n <div class=\"docs-header\" id=\"content\">\n <h4><strong>Page layout:</strong> {{default originalLayout '(no layout defined)'}}</h4>\n <h4><strong>Page src:</strong> {{page.src}}</h4>\n <h4><strong>Page dest:</strong> {{page.dest}}</h4>\n <h4><strong>Dest filename:</strong> {{page.filename}}</h4>\n <h4><strong>Dest basename:</strong> {{page.basename}}</h4>\n <h4> <strong>Page title:</strong> {{default title '(no title defined)'}}</h4>\n </div>\n\n <hr>\n <div class=\"row\">\n <div class=\"col-md-6\">\n <!-- Categories Collection -->\n {{#if categories}}\n {{> collections-categories }}\n {{/if}}\n </div>\n <div class=\"col-md-6\">\n {{#if tags}}\n {{> collections-tags }}\n {{/if}}\n </div>\n </div>\n\n <hr>\n\n \n<div class=\"page-header\">\n <h4>{{{title}}}</h4>\n</div>\n\n<h4>Newlines preserved</h4>\n<div class=\"almost-haiku\">\n{{{poem}}}\n</div>\n\n<h4>Newlines folded</h4>\n<div class=\"another\">\n{{{another}}}\n</div>\n\n <div class=\"docs-header\" id=\"content\">\n <h1>Content</h1>\n </div>\n <ul>\n {{#each pages}}\n <li> <a href=\"{{relativeLink}}\">{{filename}}</a></li>\n {{/each}}\n </ul>\n\n <hr>\n <div style=\"display: none\">\n\n <h1>Page</h1>\n <!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.layout: {{this.layout}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{page.src}}\n page.dest: {{page.dest}}\n page.layout: {{page.layout}}\n page.dirname: {{page.dirname}}\n page.filename: {{page.filename}}\n page.pagename: {{page.pagename}}\n page.basename: {{page.basename}}\n page.ext: {{page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n layout: {{layout}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n <h1>Each pages</h1>\n <ul>\n {{#each pages}}<li><a href=\"{{relativeLink}}\">{{filename}}</a> </li>\n <!--\n \"this\"\n ===============================\n this.src: {{this.src}}\n this.dest: {{this.dest}}\n this.dirname: {{this.dirname}}\n this.filename: {{this.filename}}\n this.pagename: {{this.pagename}}\n this.basename: {{this.basename}}\n this.ext: {{this.ext}}\n\n \"page\"\n ===============================\n page.src: {{../page.src}}\n page.dest: {{../page.dest}}\n page.dirname: {{../page.dirname}}\n page.filename: {{../page.filename}}\n page.pagename: {{../page.pagename}}\n page.basename: {{../page.basename}}\n page.ext: {{../page.ext}}\n\n \"root\"\n ===============================\n src: {{src}}\n dest: {{dest}}\n dirname: {{dirname}}\n filename: {{filename}}\n pagename: {{pagename}}\n basename: {{basename}}\n ext: {{ext}}\n -->\n {{/each}}\n </ul>\n\n <h1>Debug Info </h1>\n {{{inspect page 'json'}}}\n </div>\n </div>\n </div>\n </div>\n </div>\n <script src=\"{{assets}}/validation.js\"></script>\n </body>\n</html>\n",
"pageName": "block-literals.html",
"pagename": "block-literals.html",
- "poem": "\r\nold pond . . .\r\na frog leaps in\r\nwater’s sound\r\n",
+ "poem": "\nold pond . . .\na frog leaps in\nwater’s sound\n",
"prev": 0,
"relativeLink": "block-literals.html",
"src": "test/fixtures/pages/yfm/block-literals.hbs",
View
12 test/actual/yfm/document.html
@@ -576,7 +576,7 @@ <h4 style="background: #eee; display: block">Delivery Instructions</h4>
"assets": "../../assets",
"basename": "document",
"bill-to": {
- "street": "\r\n123 Tornado Alley\r\nSuite 16\r\n",
+ "street": "\n123 Tornado Alley\nSuite 16\n",
"city": "East Centerville",
"state": "KS"
},
@@ -608,16 +608,16 @@ <h4 style="background: #eee; display: block">Delivery Instructions</h4>
}
],
"bill-to": {
- "street": "\r\n123 Tornado Alley\r\nSuite 16\r\n",
+ "street": "\n123 Tornado Alley\nSuite 16\n",
"city": "East Centerville",
"state": "KS"
},
"ship-to": {
- "street": "\r\n123 Tornado Alley\r\nSuite 16\r\n",
+ "street": "\n123 Tornado Alley\nSuite 16\n",
"city": "East Centerville",
"state": "KS"
},
- "specialDelivery": "Follow the Yellow Brick Road to the Emerald City. Pay no attention to the man behind the curtain.\r\n"
+ "specialDelivery": "Follow the Yellow Brick Road to the Emerald City. Pay no attention to the man behind the curtain.\n"
},
"date": "2007-08-06T00:00:00.000Z",
"dest": "test/actual/yfm/document.html",
@@ -676,11 +676,11 @@ <h4 style="background: #eee; display: block">Delivery Instructions</h4>
"receipt": "Oz-Ware Purchase Invoice",
"relativeLink": "document.html",
"ship-to": {
- "street": "\r\n123 Tornado Alley\r\nSuite 16\r\n",
+ "street": "\n123 Tornado Alley\nSuite 16\n",
"city": "East Centerville",
"state": "KS"
},
- "specialDelivery": "Follow the Yellow Brick Road to the Emerald City. Pay no attention to the man behind the curtain.\r\n",
+ "specialDelivery": "Follow the Yellow Brick Road to the Emerald City. Pay no attention to the man behind the curtain.\n",
"src": "test/fixtures/pages/yfm/document.hbs"
}
</code></pre>
Please sign in to comment.
Something went wrong with that request. Please try again.