Code Monkey home page Code Monkey logo

grav-skeleton-onepage-site's Introduction

Grav One-Page Skeleton

The One-Page Site skeleton is a Grav skeleton based on the Quark theme and includes a user folder giving an example of a one-page site utilizing modular pages developed using Grav.

Installation

To install this package, you will essentially be replacing the default user folder with the skeleton. To do this, download the zip version of this repository and unzip it under /your/site/grav/. Then, rename the folder to user.

If a user folder already exists, back up the folder to a safe place, delete it (if there is no custom content in it you wish to keep) or replace its contents with the files in the unzipped folder.

You should now have all the skeleton files under

/your/site/grav/user/

NOTE: This skeleton is a modular component for Grav which requires Grav, the Error and Problems plugins, and a theme to be installed in order to operate. If you download this skeleton as part of a pre-assembled package from GetGrav.org, you should have everything you need to get started.

grav-skeleton-onepage-site's People

Contributors

bobrocke avatar flaviocopes avatar rhukster avatar w00fz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

grav-skeleton-onepage-site's Issues

admin plugin breaks the site for this skeleton

The moment I install admin plugin site stops loading and admin I get the error

Not Found
The requested URL /grav/admin was not found on this server.

Without admin plugin the site loads just fine. With the plugin installed the url automatically appends admin and normal site URL is not even accessible.

Omitted page slugs in the One-Page Site skeleton: an issue?

In a site modeled on the One-Page Site skeleton, I get intermittent white-outs in which the site just disappears or returns an "Error 503 Backend fetch failed" message from the Varnish cache server instead of rendering a page. Checking the logs, I found this, and this only:

[2017-02-08 09:05:50] grav.NOTICE: Invalid slug set in YAML frontmatter: /home/_philippe => _philippe [] []
[2017-02-08 09:08:06] grav.NOTICE: Invalid slug set in YAML frontmatter: /home/_philippe => _philippe [] []
[2017-02-08 09:17:47] grav.NOTICE: Invalid slug set in YAML frontmatter: /home/_kontakt => _kontakt [] []
[2017-02-08 09:23:20] grav.NOTICE: Invalid slug set in YAML frontmatter: /home/_service => _service [] []

In line with the example of the One-Page Site skeleton, none of my pages have a page slug set to begin with. Is this a possible defect of the skeleton, and is it reasonable to assume that the site outages could be caused by omitted page slugs?

Error after upload

I'm getting the next error after upload:

Theme 'antimatter' does not exist, unable to display page.

Typo

There is a typo, I assume, on the front page. Under 'Awesome Technology' it says, "Grav employees..." I'm sure someone meant employs. ;)

Hero headers not rendered correctly on Android Chrome

Long words in hero headers increase window width, so some horizontal scrolling occurs. This makes the hamburger button of the menu disappear on the right border, so the site seams to be without menu. Not so experienced users will not find the menu. This happens with Android Chrome, not with iPhone Safari.

My workaround where ­ in the words and an addition to _framework.scss:

// for small width on android chrome
@media (max-width: 600px) {
  .hero {
    h1 {
      font-size: 3rem !important;
    }

    h2 {
      font-size: 1.5rem !important;
    }

    h1 + h2 {
      margin-top: -25px !important;
    }
  }
  // from _typography.scss
  .title-h1h2 {
    h1  {
      font-weight: 200 !important;
    }
  }
  .title-h1h2, .title-center {
    h1 + h2 {
      font-weight: 500 !important;
    }
  }
}

From typography view this corrections do not look bad, IMHO.

See _framework.zip

offset-box leads to error

When editing this skeleton, I keep getting an error for the Homepage Highlights modular. The error disappears when "class: offset-box" is deleted, because it's missing in the correspodending yaml file. Could you please fix this?

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.