Git Product home page Git Product logo

foundation.graphql.org's Introduction

GQL Foundation website

This site is built using Hugo and hosted on Netlify.

Running the site locally {#running}

To run the site locally, you must first set it up:

  1. Install Hugo. For this site, you need to install an "extended" version of Hugo with support for Sass.
  2. Install Yarn, and run yarn to install dependencies

Now you can launch a development web server:

make serve

Navigate to http://localhost:1313 in your browser to view the site.

Publishing the site

This site is published automatically by Netlify. Any time you push changes to the master branch, the site will be rebuilt and republished with those changes.

Updating the site's content

All of the site's content is generated from sources that are not directly in the HTML templates:

  • The site's title is set using the title variable in the site's main config.toml configuration file; the subtitle is set using params.home.subtitle; the large-text info section above the "About" section is set using params.home.info; and the "About" section is set using params.home.about. Markdown is supported in all of these text blocks.
  • The navbar links are generated from the params.nav map in config.toml
  • The FAQ is generated from the data/faq.yaml file

Aesthetic

This site uses the Bulma CSS framework. The Sass used to build the site's CSS is in assets/sass/style.sass. If you make changes to the Sass while running the site locally, Hugo will automatically update the CSS and refresh the page in the browser.

foundation.graphql.org's People

Contributors

acao avatar brianwarner avatar caniszczyk avatar carolstran avatar cjyabraham avatar ekwuno avatar leebyron avatar lucperkins avatar robrichard avatar rs-ds avatar thenamankumar 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.