Skip to content

Latest commit

 

History

History
41 lines (16 loc) · 1.14 KB

README.md

File metadata and controls

41 lines (16 loc) · 1.14 KB

Lektor-bootstrap-portfolio

Simple portfolio theme for Lektor with Bootstrap based on the portfolio guide from Lektor documentation with support for google analytics, including some funky CSS patterns.

See the demo

Getting started

If you don't have Lektor installed yet, follow the instructions from the official doc here.

After cloning the repository, install the dependencies (like bootstrap). You need to have npm installed.

cd webpack
npm install

Launch the development server

lektor server -f webpack

You can now edit your portfolio at http://127.0.0.1:5000

Configuration in production

Copy the file webpack/config/default.js to webpack/config/prod.js, edit the google analytics tracking ID, then build with:

TARGET=prod lektor build -f webpack

Selecting the base style

The projects imports the themes from Bootswatch. You can select the one to be used in webpack/js/main.js.