deprecated-packages / gophp71.org

Website to promote and inform about PHP 7.1 as minimal requirement in PHP packages
https://gophp71.org
MIT License
12 stars 17 forks source link

Move projects list to YAML data file #10

Closed salathe closed 7 years ago

salathe commented 7 years ago

@ozh To your awesome comment: would you be able to send PR with that that would work on Github Pages? – https://github.com/TomasVotruba/gophp71.org/pull/4#issuecomment-326829053

This PR moves the list of projects out of the HTML file and into a YAML data file. The file contains a list of key/value pairs like:

- name: My PHP Project
  url: http://myphpproject.org/
  when: August 2017

The optional when_url key may also be used, to wrap the when value in a link.

TomasVotruba commented 7 years ago

Thanks for the PR

Since when do Github Pages support Twig and YAML? I didn't know that

salathe commented 7 years ago

GitHub Pages supports using Jekyll, which is a static site generator written in Ruby. This has been available to use with GitHub Pages for many years.

For more information, see About GitHub Pages and Jekyll from the GitHub Help site.

TomasVotruba commented 7 years ago

I'm aware of Jekyll, just didn't know it's so easy :)

Let's merge it than.

TomasVotruba commented 7 years ago

I'm still amazed how nice it is, thank you :heart: