When Geoffrey Grosenbach launched blog.peepcode.com on a heavily extended version of Nesta, with a different design for each page, there was a fair amount of interest from the community in how to use Nesta to do something similar. The Blogazine plugin gives you a simple way to choose which stylesheets are served for each page on your site. I've added it to the plugins directory: http://nestacms.com/docs/plugins I've also written a detailed how to guide on what's involved in configuring it: http://nestacms.com/docs/design/making-an-art-directed-blogazine
This CMS just gets better & better. / James On Thu, Sep 22, 2011 at 6:17 PM, Graham Ashton <graham@effectif.com> wrote: > When Geoffrey Grosenbach launched blog.peepcode.com on a heavily extended > version of Nesta, with a different design for each page, there was a fair > amount of interest from the community in how to use Nesta to do something > similar. > > The Blogazine plugin gives you a simple way to choose which stylesheets are > served for each page on your site. > > I've added it to the plugins directory: > > http://nestacms.com/docs/plugins > > I've also written a detailed how to guide on what's involved in configuring > it: > > http://nestacms.com/docs/design/making-an-art-directed-blogazine >
Hello Graham Wow! Nesta is really coming along. Thanks for all your work. Regards Harsh http://harshbhasin.com --- On Thu, 9/22/11, Graham Ashton <graham@effectif.com> wrote: From: Graham Ashton <graham@effectif.com> Subject: [nesta] Blogazine plugin To: nesta@librelist.com Date: Thursday, September 22, 2011, 12:17 PM When Geoffrey Grosenbach launched blog.peepcode.com on a heavily extended version of Nesta, with a different design for each page, there was a fair amount of interest from the community in how to use Nesta to do something similar. The Blogazine plugin gives you a simple way to choose which stylesheets are served for each page on your site. I've added it to the plugins directory: http://nestacms.com/docs/plugins I've also written a detailed how to guide on what's involved in configuring it: http://nestacms.com/docs/design/making-an-art-directed-blogazine
This sounds awesome.
I'm not sure if this is a correct way to do it, or if this interests anyone,
but this is how i've configured individual coffeescript files for each page.
views/layout.haml
- if @page.metadata('js') != nil
%script(type="text/javascript" src="js/#{@page.metadata('js')}.js")
content/pages/PAGENAME.haml
js: JSCRIPTNAME
app.rb
get '/js/*.js' do
filename = params[:splat][0]
file = "views/js/#{filename}.coffee"
if File.exists? file
return CoffeeScript.compile File.read(file)
else
file = "content/pages/js/#{filename}.coffee"
return CoffeeScript.compile File.read(file)
end
end
On Thu, Sep 22, 2011 at 8:58 PM, Hersh Bhasin <hersh_b@yahoo.com> wrote:
>
> Hello Graham
>
> Wow! Nesta is really coming along. Thanks for all your work.
>
> Regards
> Harsh
> http://harshbhasin.com
> --- On *Thu, 9/22/11, Graham Ashton <graham@effectif.com>* wrote:
>
>
> From: Graham Ashton <graham@effectif.com>
> Subject: [nesta] Blogazine plugin
> To: nesta@librelist.com
> Date: Thursday, September 22, 2011, 12:17 PM
>
>
> When Geoffrey Grosenbach launched blog.peepcode.com on a heavily extended
> version of Nesta, with a different design for each page, there was a fair
> amount of interest from the community in how to use Nesta to do something
> similar.
>
> The Blogazine plugin gives you a simple way to choose which stylesheets are
> served for each page on your site.
>
> I've added it to the plugins directory:
>
> http://nestacms.com/docs/plugins
>
> I've also written a detailed how to guide on what's involved in configuring
> it:
>
> http://nestacms.com/docs/design/making-an-art-directed-blogazine
>
>
That's absolutely wonderful. I'm building two websites with nesta: - my personal blog - a reading group we are helding I have nesta configured with an scss semantic grid and the html5 boilerplate layout. You can see the skeleton at http://ethandune.org Now I'll give a look at blogazine because the peepcode blog was exactly the push towards nesta. Thanks a lot Tommaso On Fri, Sep 23, 2011 at 7:25 AM, aneesh <aneesh.bhoopathy@gmail.com> wrote: > This sounds awesome. > I'm not sure if this is a correct way to do it, or if this interests > anyone, but this is how i've configured individual coffeescript files for > each page. > > views/layout.haml > - if @page.metadata('js') != nil > %script(type="text/javascript" src="js/#{@page.metadata('js')}.js") > > content/pages/PAGENAME.haml > js: JSCRIPTNAME > > app.rb > get '/js/*.js' do > filename = params[:splat][0] > file = "views/js/#{filename}.coffee" > if File.exists? file > return CoffeeScript.compile File.read(file) > else > file = "content/pages/js/#{filename}.coffee" > return CoffeeScript.compile File.read(file) > end > end > > On Thu, Sep 22, 2011 at 8:58 PM, Hersh Bhasin <hersh_b@yahoo.com> wrote: > >> >> Hello Graham >> >> Wow! Nesta is really coming along. Thanks for all your work. >> >> Regards >> Harsh >> http://harshbhasin.com >> --- On *Thu, 9/22/11, Graham Ashton <graham@effectif.com>* wrote: >> >> >> From: Graham Ashton <graham@effectif.com> >> Subject: [nesta] Blogazine plugin >> To: nesta@librelist.com >> Date: Thursday, September 22, 2011, 12:17 PM >> >> >> When Geoffrey Grosenbach launched blog.peepcode.com on a heavily extended >> version of Nesta, with a different design for each page, there was a fair >> amount of interest from the community in how to use Nesta to do something >> similar. >> >> The Blogazine plugin gives you a simple way to choose which stylesheets >> are served for each page on your site. >> >> I've added it to the plugins directory: >> >> http://nestacms.com/docs/plugins >> >> I've also written a detailed how to guide on what's involved in >> configuring it: >> >> http://nestacms.com/docs/design/making-an-art-directed-blogazine >> >> > -- IN OBSCURO MIRANDA RELUCENT