Giter Site home page Giter Site logo

mems / fontforge.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fontforge/fontforge.github.io

0.0 2.0 0.0 37.81 MB

The FontForge homepage

Home Page: http://fontforge.github.io/

License: Other

ApacheConf 0.01% HTML 98.62% Ruby 0.01% Shell 0.04% CSS 0.31% JavaScript 0.42% TeX 0.61%

fontforge.github.io's Introduction

This is the FontForge website repository. To contribute, please create issues, join the fontforge-devel list to discuss general topics, or simply make Pull Requests. Please don’t hesitate to ask for direct commit access. You can then use GitHub to edit pages directly, like a wiki.

How This Site Is Made

This site is made with the Jekyll content management system, and hosted on GitHub pages.

If you’re not familiar with GitHub, they have excellent help pages.

Directory Layout

  • _layouts/*.html HTML template files
  • _includes/*.html Snippets of HTML that are included in pages and templates
  • assets/ CSS, JS and image files
  • _config.yml Configuration for Jekyll (the website generator)
  • en-US/ The site’s contents, in US English
  • meta/ Files made to redevelop the site, including a to-do list, sitemap visualisation, and mock up pages for the homepage, other pages and navigation.

Note: meta/TODO.md has a list of TODO items, which was made when the website was in its initial development phase. In the future, GitHub issues may be used.

File Formats

Each page is in Markdown format, with a .md file extension. These files are converted into corresponding .html files by Jekyll when they start with these lines:

  • published: if the page should not be published, set this to false
  • layout: bookpage is the default
  • weight: an integer value from 1 to 100 that effects the ordering of the page in the sidebar and homepage lists
  • category: the category the page belongs in
  • title: the page title used in the title tag and h1 of the page

Example:

    ---
    published: true
    layout: bookpage
    weight: 60
    category: Workflow
    title: Page Title
    ---

We have a simple script to make such a page:

./_build/add en-US/path/to/page.md

This will make a file with the required lines.

How to build the site

First install Jekyll, with gem:

sudo gem install jekyll

To see the site as it will appear after processing by Jekyll and review your edits live in a browser layout, run:

jekyll serve --watch

Now browse http://localhost:4000/.

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.