quotes

My favourite quotes. (gatsbyjs)
git clone http://git.hanabi.in/repos/quotes.git
Log | Files | Refs | README | LICENSE

README.md (1364B)


      1 ## Table of Contents
      2 + [Quotes](#quotes)
      3   + [Conventions](#Conventions)
      4       + [Content](#Content)
      5       + [Frontmatter](#Frontmatter)
      6       + [Hash calculator](#Hash calculator)
      7   + [Using plugins](#using-plugins)
      8     + [Abbreviations](#Abbreviations)
      9 
     10 # Quotes
     11 
     12 My favourite quotes. Forked from [Gatsby blog starter](https://github.com/gatsbyjs/gatsby-starter-blog).  [Minimo theme](https://themes.gohugo.io//theme/minimo/) for [Hugo](https://gohugo.io/) by [Munif Tanjim](https://github.com/MunifTanjim).
     13 
     14 To run locally, follow these steps:
     15 
     16 ```bash
     17 yarn
     18 yarn start
     19 ```
     20 Then open [http://0.0.0.0:8000](http://0.0.0.0:8000).
     21 
     22 ## Conventions
     23 
     24 ### Content
     25 
     26 1. The quotes are located at `/quotes`.
     27 
     28 ### Frontmatter
     29 
     30 This is how the frontmatter must appear
     31 
     32 ```markdown
     33 ---
     34 author: String!
     35 attributed: Boolean!
     36 misattributed: Boolean!,
     37 date: String(yyyy-mm-dd)!
     38 draft: Boolean!
     39 lang: String(ISO 639-1)!
     40 path: unique(String!)
     41 tags: Array<String>!
     42 title: String!
     43 unverified: Boolean!
     44 where: String!
     45 
     46 ---
     47 ```
     48 ### Hash calculator
     49 
     50 Run the following:
     51 ```sh
     52 ./hashcalc.sh <content of title from frontmatter>
     53 ```
     54 
     55 copy the first eight characters of the hash
     56 
     57 ## Using plugins
     58 
     59 ### Abbreviations
     60 
     61 Abbreviations can be added as follows:
     62 
     63 ```diff
     64 The HTML specification
     65 is maintained by the W3C.
     66 
     67 +*[HTML]: Hyper Text Markup Language
     68 +*[W3C]:  World Wide Web Consortium
     69 ```