-
Notifications
You must be signed in to change notification settings - Fork 1
Home
This is a base design for McClatchy's Special Projects Template (sometimes referred to as the Escenic Sinclair template). Honeycomb is for local development that can easily be moved over to Content Studio for testing and publishing.
Honeycomb standardizes and streamlines the process of creating special project designs within Content Studio by providing HTML, styles and scripts to give news developers a running start at customization.
Honeycomb is for McClatchy front-end developers who want to give projects a special treatment beyond the standard article page.
- Go to the [Honeycomb repo] (https://github.com/mcclatchy/honeycomb) and download the zip.
- Unzip
honeycomb-masterand place its contents in your local project folder, deletinghoneycomb-masteronce it's empty. - Open a new terminal window and change directories to your project folder with the Honeycomb files.
- Enter
php -S localhost:8000. - Go to the
localhost:8000web address in your browser to see your new project and begin customizing project files. - For Sass (optional): Change directories to
/honeycomb/staticin a new terminal window, entersass --watch sass:cssto begin watching your files.
index.php is a local version of a basic McClatchy page framework (i.e. the market's header/footer, styles, etc.). The contents of this file create a local developing environment for you but shouldn't be edited or included in Newsgate.
custom.php starts with a sample story and generic elements that is your canvass to customize.
-
<!-- custom head -->is where you may add style and miscellaneous dependencies. -
<!-- custom body -->is where you may add HTML and usually includes:-
<!-- content header -->for hero images/videos, title text and other top hierarchy elements. -
<!-- content well -->for story text, art and other elements weaved throughout the story. -
<!-- content footer -->for breakout sections, suggested stories, comments and other bottom hierarchy elements.
-
-
<!-- custom scripts -->is where you may add JS or other script dependencies.
####Existing dependencies
-
css/base.cssandscripts/base.jscontain all of the base styles and scripts. Changes to these files are not recommended. -
css/custom.cssis where new styles should be added to build upon or override those established incss/base.css. -
scripts/custom.jsis where new scripts should be added.
####Sass
-sass/custom.scss is available and ready to compile into its .css counterpart if you prefer writing with Sass.
-
sass/_variables.scss,sass/_extendables.scssandsass/_site-colors.scssare [partials] (http://sass-lang.com/guide/#partials).
No changes... yet.