qtopie / amp-blog-theme

Hugo Blog theme with AMP

Home Page:https://qtopie.web.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

amp-blog-theme

A simple blog theme supports for AMP.

Features

  • AMP Page
  • Google Analytics
  • Google AdSense
  • AMP Image Lightbox
  • Latex (Math) Support
  • GitHub markdown layout

Example Configuration

config.yaml

baseURL: 'https://your-site.com/'
languageCode: 'en-us'
defaultContentLanguage: en
title: 'Blog | authorName'
theme: 'amp-blog-theme'
author: 
  name: 'authorName'
  email: name@example.com

markup:
  defaultMarkdownHandler: goldmark
  goldmark:
    extensions:
      definitionList: true
      footnote: true
      linkify: true
      strikethrough: true
      table: true
      taskList: true
      typographer: true
    parser:
      attribute:
        block: false
        title: true
      autoHeadingID: true
      autoHeadingIDType: github
    renderer:
      hardWraps: false
      unsafe: false
      xhtml: false
  highlight:
    anchorLineNos: false
    codeFences: true
    guessSyntax: false
    hl_Lines: ""
    lineAnchors: ""
    lineNoStart: 1
    lineNos: false
    lineNumbersInTable: true
    noClasses: true
    style: manni
    tabWidth: 2
  tableOfContents:
    endLevel: 3
    ordered: false
    startLevel: 2

About

Hugo Blog theme with AMP

https://qtopie.web.app

License:MIT License


Languages

Language:CSS 65.8%Language:HTML 34.2%