Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

writteli/playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

playground

Working on example writteli setup

Ideas

Basic config file example for writteli project:

{
  theme: {
    url: 'path/to/theme/root/folder/',
    constants: {
      year: 2020
    }
  },
  content: {
    src: 'path/to/content/root/folder/',
    homepage: 'home'
    pages: {
      home: {
        layout: 'home.pug',
        type: 'single',
        content: 'home.md',
        constants: {
          activeMenu: 'home'
        }
      },
      about: {
        layout: 'about.pug',
        type: 'single',
        content: 'about.md',
        constants: {
          activeMenu: 'about'
        }
      },
      experience: {
        layout: 'experience.pug',
        type: 'single',
        content: 'experience.md',
        constants: {
          activeMenu: 'experience'
        }
      },
      notes: {
        layout: 'notes.pug',
        type: 'list',
        pagination: {
          limit: 10,
          slug: 'page'
        },
        entry: {
          layout: 'single-note.pug',
          content: '/notes/'
        },
        constants: {
          activeMenu: 'notes'
        }
      },
      projects: {
        layout: 'projects.pug',
        type: 'list',
        entry: {
          layout: '',
          content: '/projects/'
        },
        constants: {
          activeMenu: 'projects'
        }
      }
    }
  }
}

About

Working on example writteli setup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published