Skip to content

mrprofessor/flamingo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flamingo

A bland theme for boring people.

Example

Probably useful stuff

  1. Add the site variables for some links to work. Also needed for seo tags.

    [params]
      author = "your name"
      description = "Blog about this and that."
      sitename = "My cool blog"
      github = "https://github.com/username"
      twitter = "@username"
      favicon = "/images/favicon.ico"
      resume = "https://example.com/resume.pdf"
  2. For the projects page to work, there must be a projects.md file or a projects/_index.md in content/ folder.

  • The contents of the file
      +++
      title = "Projects"
      layout = "projects"
      draft = false
      +++
  • Additionally the projects data can be added in the config.toml
      # Projects list
      [[params.projects]]
        name = "project1"
        description = "First project 📚"
        demoLink = "https://example.com/project1/"
        sourceLink = "https://github.com/username/project1"
    
    
      [[params.projects]]
        name = "project2"
        description = "Second project 📚"
        demoLink = "https://example.com/project2/"
        sourceLink = "https://github.com/username/project2"
  1. The theme supports utterances by default. This can be easily replaced with discourse or whatever in partials/comments.html.
  2. SEO stuff can be added to the partial/meta.html
  3. Pagintation can be handled by uncommenting the partials in _default/list.html and layout/index.html.

TODOs

  • Include an example site.
  • A nicer readme.