Skip to content
The elementary.io website
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Fix unavailable package name 'nodejs-legacy' (#2103) Oct 29, 2018
_backend Team Page Updates (#2186) Apr 26, 2019
_images Refresh What's New section (#2184) Apr 19, 2019
_lang Translated using Weblate (Portuguese) Apr 21, 2019
_scripts Allow users to download previous releases they purchased (#2091) Feb 26, 2019
_styles Team Page Updates (#2186) Apr 26, 2019
_templates Update to correct Slack logo Feb 21, 2019
_tests fix correct line number for translation test Apr 30, 2017
api fix 404 error on previous iso download check May 3, 2019
data Juno (#2057) Oct 16, 2018
docs Adding anchors to OS Development (#2190) May 3, 2019
fonts Font revert revert (#1216) Aug 4, 2016
help Juno (#2057) Oct 16, 2018
hook Translation script update (#1656) Apr 23, 2017
store Indicate shipping costs on product pages. (#1879) Oct 17, 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 LLC → Inc (#2129) Dec 7, 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 event countdown reset url Oct 13, 2018
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 Extending the Getting involved > Desktop development section (#2166) Mar 12, 2019
gulpfile.babel.js Add Workflow section to homepage (#2157) Mar 27, 2019
index.php Refresh What's New section (#2184) Apr 19, 2019
manifest.json add manifest fields (#1605) Feb 28, 2017
nginx.conf Privacy page update (#2059) Oct 4, 2018
oem.php OEM resources (#2114) Jan 25, 2019
open-source.php Juno (#2057) Oct 16, 2018
package-lock.json Improve gulp/npm build process (#2095) Oct 21, 2018
package.json Improve gulp/npm build process (#2095) Oct 21, 2018
press.php Juno (#2057) Oct 16, 2018
previous.php Allow users to download previous releases they purchased (#2091) Feb 26, 2019
privacy.php Spelling: FastMail, Cloudflare (#2152) Jan 22, 2019
router.php Do not allow access to router script in production. (#2176) Mar 22, 2019
support.php Juno (#2057) Oct 16, 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.

You can’t perform that action at this time.