Skip to content

star-tek/ng-star

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lineman-blog-bootstrap

A blog template with a responsive layout.

See it running on Heroku

not really adding much here, just trying to provide the most common starting point for a static blog. it just needs a little bootstrap, which isn't much work but who likes repeating stuff? plus, if i add this template as a common remote in all my blog repositories, then i can just pull in changes to all my blogs. i really think too much.

I was also thinking about using angular - such flash, much state-aware.
however, i thought about SEO and having to run a PhantomJS process, which undermines the staticness of the blog. there is still a way to do this without affecting SEO, but it's complicated. this is a blog, which is where I should be writing this paragraph now...

TODO:

  • change archive.html to posts.html?
  • set up different avatars for authors in markdown metadata
  • set up tagged posts?
  • how to do distributed development?
    • so i can push changes from another fork into this one?
    • why does this not just work with multiple remotes like github forks

Getting Started

Here's how to publish a new blog to the web in minutes:

  1. Clone into this repository
  2. Install lineman if you haven't yet.
  3. Run npm install to install required project dependencies.
  4. Run bower install to install frontend dependencies.
  5. Run lineman run while you work on writing markdown files under app/posts
  6. Install heroku if you haven't, then run heroku create --buildpack http://github.com/linemanjs/heroku-buildpack-lineman.git
  7. Commit your post and git push heroku master, and your blog is hosted on the web with apache2!

Lineman-blog

Turns out that lineman makes a great blogging engine!

Here's a screencast to demo usage for Test Double's blog, Double Takes.

Features

First, consider reading about grunt-markdown-blog, our grunt task that's doing almost all the heavy lifting here.

  • Just add markdown posts with an ".md" extension to app/posts and when you lineman run or lineman build, they'll be rendered.
  • Configure your blog in config/application.coffee
  • Customize your blog templates in app/templates.
  • RSS is generated for you at /index.xml
  • Disqus support is included if you configure it.
  • You can, of course, add any Less/CSS or CoffeeScript/JavaScript as you can with any other Lineman application. See Lineman's documentation.
  • For more info on publishing with heroku, see details about Heroku & Lineman.
  • To build static assets to deploy some other way, just run lineman build and put the dist directory's contents somewhere.

About

Blog and website for ng-star

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published