The elementary.io website
Clone or download
Weblate
Latest commit 8236720 Sep 24, 2018
Permalink
Failed to load latest commit information.
.github add npx gulp watch command to contributing guide Apr 23, 2018
_backend Update Slack IDs (#2035) Aug 22, 2018
_images Update iconography examples (#2055) Sep 24, 2018
_lang Translated using Weblate (Tagalog) Sep 24, 2018
_scripts Remove the Thank You redirect on download (#2022) Aug 7, 2018
_styles Press page (#2040) Aug 27, 2018
_templates Spelling: StackExchange → Stack Exchange (#2049) Sep 22, 2018
_tests fix correct line number for translation test Apr 30, 2017
api add access controll allow origin header to config api endpoint Jul 6, 2018
data Add Vala swag (#1964) Aug 28, 2018
docs HIG: Fix a missing period, old URLs and case (#2048) Sep 22, 2018
fonts Font revert revert (#1216) Aug 4, 2016
help Update StackExchange URLs (#2014) Jul 27, 2018
hook Translation script update (#1656) Apr 23, 2017
store Add Vala swag (#1964) Aug 28, 2018
.babelrc Optimize images (#1588) Feb 22, 2017
.editorconfig added more flow to purchase elementary Feb 26, 2016
.eslintrc Travis (#1236) Aug 5, 2016
.gitignore Create .gitignore Jun 15, 2017
.gitmodules Optimize images (#1588) Feb 22, 2017
.stylelintrc.json Optimize images (#1588) Feb 22, 2017
.travis.yml Optimize images (#1588) Feb 22, 2017
403.php Fix broken FontAwesome alert icon (#2005) Jul 24, 2018
404.php Fix broken FontAwesome alert icon (#2005) Jul 24, 2018
410.php Fix #1282 & #1433 - Organise folders and files and document their usa… Nov 3, 2016
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Jun 16, 2017
LICENSE.md Update and rename LICENSE to LICENSE.md Feb 15, 2018
README.md Add a security section to the readme (#1959) May 15, 2018
TRANSLATE.md Update TRANSLATE.md (#1723) May 20, 2017
brand.php use new grape palette (#1955) May 11, 2018
capnet-assist.php stop scripts from loading on capnet-assist (#1498) Dec 13, 2016
code-of-conduct.php Update section 5 (#1956) May 15, 2018
countdown.php Fix #1282 & #1433 - Organise folders and files and document their usa… Nov 3, 2016
developer.php add developer redirect to developer.elementary.io (#1487) Dec 2, 2016
favicon.ico fixes #1056, added white-on-blue favicon (#1228) Aug 2, 2016
get-involved.php Spelling: StackExchange → Stack Exchange (#2049) Sep 22, 2018
gulpfile.babel.js Installation doc update (#1985) Jul 16, 2018
index.php Better copy from Dan Aug 27, 2018
manifest.json add manifest fields (#1605) Feb 28, 2017
nginx.conf Redirect /funding (#1904) Feb 19, 2018
open-source.php Rename screenshot-tool to screenshot (#2051) Sep 11, 2018
package.json add bin files in case you dont have it installed locally (#1713) May 18, 2017
press.php Add Medium to Press page (#2044) Aug 28, 2018
privacy-policy.php Support for edge browser is added (#1805) Sep 2, 2017
router.php New new store (#1254) Aug 23, 2016
support.php Spelling: StackExchange → Stack Exchange (#2049) Sep 22, 2018
team.php Start using Font-Awesome 5 Pro (#1951) May 6, 2018
thank-you.php The installation guide should be easier to get to (#1745) Jun 20, 2018
webpack.config.babel.js Update building (#1710) May 17, 2017

README.md

The New elementary.io

Bountysource Build Status Translation status

A focused, minimum viable product (hence MVP) for a website that accompanied the release of elementary OS Freya.

Project Organization

  • Issues for individual actionable items, or bugs i.e.:
    • Design home page
    • Implement home page
    • Add payment form
    • Fix link to Wired article
  • Milestones for "releases" or overall steps, i.e.:
    • Single-page site
    • User Documentation
    • Journal
  • Reviews Do all work in branches, then submit pull requests for review when ready
    • No dummy content in master, ever.
    • small diff is best diff
    • The reviewer is the gatekeeper. Be kind of a dick.

Architecture/Philosophies

  • HTML, CSS, and JS
  • Super simple PHP-based templating system
  • No/minimal frameworks (keep it simple!)
  • Graceful degradation (don't be held back by crappy browsers)
  • Mobile-first

Templating System

  • PHP-based
  • Pages go in root as .php files
  • require_once '_backend/preload.php';, set any variables, then include $template['header']; (see code-of-conduct for an example) at top of page.
  • include $template['footer']; at bottom of page.
  • Page variables:
    • $page['title']
    • $page['description']
    • $page['author']

Contributing

See guidelines for coding and translating.

Security

For any security related issues, please do not open a public GitHub issue. Instead, email them to webmaster@elementary.io. We will provide an initial assessment of security reports within 48 hours and should apply patches within 2 weeks (also, feel free to contribute a fix for the issue).

License

This project has a MIT license.