Code Monkey home page Code Monkey logo

assemble.io's Introduction

assemble.io's People

Contributors

davidstosik avatar jonschlinkert avatar zkat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

assemble.io's Issues

Markdown includes documentation outdated?

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"}}}.

Pretty URLs

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.

Collections documentation has some problems

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.

Pages collection on index.html

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/'}
        ]
    }
}

clean up layouts

  • use nested layouts
  • make section styles dynamic, probably using a helper, so that it's not necessary to use a different layout for each section just to change the sidenav and subhead color

graphics for landing page

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

Missing favicon.ico

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?

Need Docs: Page Categories Collections

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?

Page titles in pages collection

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>

withSort not working for pages collection

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?

Helpers

The organizational structure here is out of date and needs to be synced up with the actual organizational structure of the helpers.

Broken link for marked in the docs

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.