GithubHelp home page GithubHelp logo

htacg.github.io's Introduction

README for HTACG GitHub Pages

This repository consists of the HTML Tidy Advocacy Group (HTACG) homepages.

For ease of maintenance by multiple contributors HTACG's GitHub pages take advantage of GitHub’s Jekyll integration. Therefor it is necessary to be slightly familiar with Jekyll and GitHub’s implementation of Jekyll in order to make changes to our sites.

References

Everything you need to know about Jekyll can be found on jekyllrb.com.

About Github and HTACG Pages

The HTAGC group main project page is served from files located in https://github.com/htacg/htacg.github.io. It can be reached from http://www.htacg.org or http://htacg.github.io. The latter is the standard means of accessing the project page, however the former works because we've set up a domain name and configured GitHub to use the domain name via the CNAME file in the repository.

HTACG Project pages are available as subdirectories of the HTACG domain, for example:

In general this is intuitive behaviour of GitHub pages but it can cause some issues with relative paths used for project web pages. For example:

The HTML-Tidy main project page is served from files located in https://github.com/htacg/tidy-html5/tree/gh-pages. It can be reached from http://www.html-tidy.org, or as above, from http://www.htacg.org/html-tidy.

This is where resource paths can be an issue. Thus it's important to follow the advice given on Jekyll's site. This will ensure that resources such as stylesheets and images are served from the appropriate directory.

In summary use the site.baseurl variable as described in the linked document, and when performing local previewing start Jekyll's server with:

jekyll serve --baseurl ''

or

bundle exec jekyll serve --baseurl ''

Specifying the baseurl on the command line will override the base URL set in _config.yml.

htacg.github.io's People

Contributors

balthisar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

htacg.github.io's Issues

Tidy, BBedit, Firefox

Running Macos Sierra, I installed Tidy yesterday. Looking at it briefly, it I get the impression that both BBEdit and Firefox call it to do their HTML checking. If this is true, it seems that there is no incentive for me to learn to use Tidy directly, and that these applications will automatically use the new version. It might save newbies a lot of thrashing if the ReadMe mentioned this fact.
Is it indeed a fact?

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.