assemble / assemble.io Goto Github PK
View Code? Open in Web Editor NEWWebsite and documentation for Assemble.
Home Page: http://assemble.io/
License: Other
Website and documentation for Assemble.
Home Page: http://assemble.io/
License: Other
http://assemble.io/docs/Context.html
"this" expression -section code example is not too helpful:
<ul class="people-list">
</ul>
Should be something like:
<ul class="people-list">
{{#each people}}
<li>{{this}}</li>
{{/each}}
</ul>
The See the template for this page โ
link on About.html points to About.hbs but should point to About.md.hbs. Not sure if it's just the one page or not.
The docs show this for iterating a page's categories and tags:
<ul>
{{#page.categories}}
<li>{{.}}</li>
{{/page.categories}}
</ul>
<ul>
{{#page.tags}}
<li>{{.}}</li>
{{/page.tags}}
</ul>
I couldn't get either of those to work though, what worked for me was this:
{{#with page}}
<ul>
{{#each data.tags}}
<li>{{.}}</li>
{{/each}}
</ul>
{{/with}}
This also works for categories, if the 'each' is modified. I don't know if this is right, or the only way of doing it, though?
per this issue assemble/assemble#305
On http://assemble.io/docs/Installation.html the text, the required local dependencies brings up a 404
The final section here talks about sorting the pages collection:
<ul>
{{#withSort pages data.date}}
<li>{{data.title}}</li>
{{/withSort}}
</ul>
If I add that code to a page within the boilerplate-bootstrap project, for example, the build fails with
Warning: Cannot read property 'hash' of undefined Use --force to continue
Aborted due to warnings.
This will build
{{#withSort pages date}}
But the output is not sorted.
Am I missing something, should this work?
We need to get some color (just a little) on the landing page. Ideally we will have some kind of section below the masthead for illustrating the "assemble ecosystem". The illustration should be simple, lots of whitespace, and demonstrate where assemble fits into the picture with grunt, yeoman and components
I think perhaps there was a recent change. Before I was using {{md "README.md"}}
to include a markdown file (as specified in the documents) but now this escapes all the html. I have to use {{{md "README.md"}}}
.
https://github.com/assemble/assemble-docs/blob/master/src/templates/pages/docs/YAML.md.hbs
contains:
https://assemble/assemble/test/actual/yaml
Not sure where is should point to; there is no folder named assemble/test/actual/yaml
anymore. Closest is: https://github.com/assemble/assemble/tree/master/test/fixtures/data but also contains .json files.
Thanks so much for assemble!
http://assemble.io/docs/options-collections.html
This paragraph accidentally a word. ;P
Although a "page" is a collection item, there is currently no concept of "pages with related pages". In other words there is no object which contains a collection of pages associated with a given page. So
This paragraph has a misspelled word creatd
:
There are no restrictions on the number of collections creatd, you may specify as many custom collections as you require.
Well, to be frank, the whole logo branding seems to be missing. Any ideas? If you would have some pointers on branding, I could possibly whip up something to fill the void. :)
Or do you have something already planned for the logo?
On this page the link to 'YAML test files' is broken.
On step 1 on this page http://assemble.io/docs/Quickstart.html, this command:
git clone [email protected]:assemble/assemble.git "my-project"
gives:
Cloning into 'my-project'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
This is on 64bit Windows 8, if that helps.
We need better examples for sorting using:
No comparison helper on http://assemble.io/docs/helpers/index.html
Same when running grunt
. Comparison helper not generated.
Sorry about all this...
On the Pages bit of the docs, under Using YFM with the page variable, it has this:
<ul>
{{#each pages}}
<li><a href="#">{{../page.title}}</a></li>
{{/each}}
</ul>
suggesting this will output the title (from each page's YFM) - if I paste that code into the top of example.hbs from the examples project it just outputs this (and I see the same thing in my own project):
<ul>
<li><a href="#">Examples</a></li>
<li><a href="#">Examples</a></li>
<li><a href="#">Examples</a></li>
<li><a href="#">Examples</a></li>
<li><a href="#">Examples</a></li>
</ul>
Add an i18n folder to this dir: https://github.com/assemble/assemble-docs/tree/master/src/content/helpers.
per issue assemble/assemble#85
In the section "Markdown options" the link to marked goes to http://assemble.io/docs/marked which is a broken link.
Also, it mentions in this section that these options from marked are "available for changing behavior". I can't seem to figure out how modify these properties. Can you explain this in the documentation?
Here http://assemble.io/helpers/helpers-dates.html link to formatDate & his author are not good (it seems he changes is nickname).
https://github.com/brightbits/formatDate-js seems the good link now.
The organizational structure here is out of date and needs to be synced up with the actual organizational structure of the helpers.
Im having an issue as described vkocubinsky/SublimeTableEditor#42, I wonder if this is some limitation from the parser in Assemble.
http://assemble.io/helpers/helpers-special.html which is linked to from http://assemble.io/helpers/helpers-strings.html
http://assemble.io/docs/Data.html
myTemplate.hbs -file has wrong content or is missing its contents, should probably be something like:
{{title}}
and for the second example with missing contents:
{{myData.title}}
on http://assemble.io/docs/YAML-front-matter.html#built-in-variables, it says:
"For each category and tag, Assemble will generate a page in the dest directory."
I cannot make this work. Any ideas?
Apologies if I've misunderstood something, still struggling with the pages collection. If I add this to my templates:
{{#each pages}}
{{pagename}}
{{/each}}
On pages apart from index.html it outputs the names of pages apart from index.html. On index.html it only lists index.html. Is this by design, or has something gone awry? I thought perhaps it was due to the pages section of my assemble config, but I have modifed this as shown and it still happens:
assemble: {
options: {
flatten: true,
layout: '<%= yeoman.src %>/templates/layouts/default.hbs',
partials: '<%= yeoman.src %>/templates/partials/*.hbs',
data: 'site.json'
},
pages: {
options: {
flatten: true,
layout: 'src/templates/layouts/default.hbs'
},
files: [
{expand: true, cwd: 'src/templates/pages', src: ['*.hbs'], dest: 'dist/'}
]
}
}
A page/section covering how to generate output for Pretty URLs would be really helpful. It would be enough to start if the Assemble docs themselves provided the example by using pretty URLs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.