GithubHelp home page GithubHelp logo

doc22940 / awake-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danielkellyio/awake-template

0.0 1.0 0.0 11.24 MB

License: MIT License

JavaScript 27.98% Vue 67.31% HTML 0.59% SCSS 4.12%

awake-template's Introduction

Awake is a Nuxt.js template for generating a beautifully robust static site with blog.

Features

  • Simple modern design based on the Bulma css framework (with unused css purged via purgecss)
  • Site search
  • Statically generated API for posts and categories
  • Disqus powered comments
  • Mailchimp powered newsletter
  • Highly customizable with out of the box configurations
  • Built with performance in mind
  • Isolated Netlify CMS driver (with more CMS drivers planned for future) for easily migrating between various headless cms'
  • Images automatically resized for various screens and given srcsets

Use Awake on Netlify

Simply click the "Deploy to Netlify" button and then configure it to fit your needs as described below.

Deploy to Netlify

Configuration

Site configuration is found in /config/_siteConfig.js. Here you can customize site settings such as the site name, layout, disqus and mailchimp setup, image sizes and more. Any of these can be setup to use environment variables if you so desire, in order to be able to configure them directly from the Netlify interface. See the setup for google analytics which already uses an environment variable as an example of this.

googleAnalytics: {
    on: true,
    id: process.env.GOOGLE_ANALYTICS_ID
},

Editing Content

Posts and categories can be edited in Netlify CMS at [your-site-url]/admin. At this time any new pages must be created in the code itself and committed to the repo. Before you visit the admin for the first time, make sure you have Netlify Identity setup with your user and make sure "Git Gateway" is enabled via the Identity Settings page in the Netlify admin.

Local Development

Since all content is store in the git repo with Netlify CMS, local development is a breeze. Simply install node, pull down the repo, install the dependencies with npm install, and run npm run dev.

awake-template's People

Contributors

danielkellyio avatar bpmct avatar hawz avatar benjaminrichardson-ms avatar deltoss avatar steverogers180 avatar dependabot[bot] avatar inblock-io avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.