Skip to content

A static site HTML generator for portfolios parsion JSON

Notifications You must be signed in to change notification settings

tsamantanis/portfolio-ssg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portfolio Generator

Go Report Card

📚 Table of Contents

  1. Project Structure
  2. Getting Started
  3. Styles
  4. Live Example

Project Structure

📂 portfolio-ssg
├── README.md
├── examples
    ├── data.json
├── generate.go
├── styles.css
└── portfolio.tmpl

Getting Started

Run each command line-by-line in your terminal to set up the project:

git clone git@github.com:tsamantanis/portfolio-ssg.git
cd portfolio-ssg

Single File 📄

To generate a retro style portfolio from a single file use:

go run generate.go --file=PATH_TO_FILE 

replacing PATH_TO_FILE with the relative path to a .json file of your choosing. Place your .json file within the data directory for optimal results.

Folder 📂

To generate multiple portfolio files from a directory use:

go run generate.go --dir=PATH_TO_DIRECTORY 

replacing PATH_TO_DIRECTORY with the relative path to a directory which contains .json files. The directory can contain sub-directories.

Styles 🎨

You can edit the styles.css file to add your own styles. View an example of a retro styled portfolio page here

Live Example

You can view a live example of this readme file generated using this portfolio generator here

About

A static site HTML generator for portfolios parsion JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published