GitXplorerGitXplorer
a

personal-page-nanoc

public
0 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
88233e3ad4fe713a4a34f298cca4e4e9038da635

Remove personal references

aarthurmde committed 9 years ago
Unverified
bb00ad0559b015d2419fde74831731575b496f4c

Add remaining pages of top bar menu

aarthurmde committed 9 years ago
Unverified
31f0ca9c6f8a6595f1eb7ca8885c2d9845c67305

Add code base to display only the abstract of blog posts

aarthurmde committed 9 years ago
Unverified
e1ac3f7288597ef9194db052919c7ce19eed3687

Add dynamic behaviour for blog posts

aarthurmde committed 9 years ago
Unverified
54c3bbbcf5acc591d5b13c60ea54389405aefd10

Add code base for posts

aarthurmde committed 9 years ago
Unverified
6c195dd5e2ea488943427a495054f56eea6f0284

Add basic menu links

aarthurmde committed 9 years ago

README

The README file for this repository.

Personal Page Nanoc

This project has the code used to generate personal pages with Nanoc, a static-site generator. The main object of this repository is to create the basic structure that can be used to create personal pages. Thus, this source code provides some structures and features that you can use to create your own personal web-site:

  • The basic layout already includes bootstrap, so you can have a responsive website and use the existing bootstrap features
  • Since we use Nanoc, you can:
    • have REST-like URLs. You can find some sample pages in the content folder (i.e: the file content/projects.html will generate a page in /projects/ URL.
    • have helpful ruby code in .erb files which will be compiled to html files afterwards.
    • define your basic layout in a separeted file from content files.
  • You can customize the design of your page by overwireting the default css in content/style.css

Checkout some examples here:

Setup

  1. Install Ruby 2.2.0. You can use rvm for this.
  2. Install nanoc: gem install nanoc.
  • Note: if gem install command fails with permission error, try it with sudo.
  1. Check if nanoc was properly installed: nanoc --version
  2. Install a local server: gem install adsf.
  • Note: if gem install command fails with permission error, try it with sudo.

Compile the site

To compile the site run: nanoc. Nanoc will create the complete HTML files in the output folder with plain HTML. Now you can start a web server by running nanoc view. Open a web browser and you should be able to see the site.