Commit Graph
10 Commits
Author SHA1 Message Date
Andrew Miner 89a7f7a9d3 Initial implementation of tutorial pages 2015-03-20 12:22:01 -07:00
Andrew Miner 57342bfbfa Don't show empty item detail page for disabled mod
When a mod is disabled, a naïve search for the item will yield an
empty set. Instead, ignore whether a mod is disabled when looking for
the principle item for a given page.
2015-03-13 18:32:16 -07:00
Andrew Miner 9ef8480da8 Add item descriptions for some BuildCraft items 2015-03-13 18:21:54 -07:00
Andrew Miner 0525f49008 Show official URL on item detail page 2015-03-12 22:33:42 -07:00
Andrew Miner 9ac8593ba3 Add ability to display videos in item pages 2015-03-12 21:54:06 -07:00
Andrew Miner 6db25d7a77 Don't show AddThis in non-prod envs 2015-03-10 23:14:06 -07:00
Andrew Miner 50c3d95440 Only load Adsense in prod. and reset on each page 2015-03-10 21:34:41 -07:00
Andrew Miner ee75415729 Allow each mod to have a default version
When a visitor arrives at the site for the first time, this will
ensure they have a certain set of mods on/off. Right now, that means
IC2-Classic is off by default, and everything else is on.
2015-03-10 09:57:23 -07:00
Andrew Miner ff17d5f9ba Show markdown description text on item detail page
* Update build process to *not* copy over prerendered pages during a
  regular build (only during a `dist` build)
* Add dependency on npm "markdown" package and include it in the
  scripts loaded in the default layout
* Update the Item model to be able to load from a *.cg file
* Add an ItemParser to process the `item.cg` file
* Update the general parser to be able to work with HereDoc-style
  text blocks
* Add a markdown-specific stylesheet
* Add a sample of the `item.cg` file format (Advanced Crafting Table)
2015-03-08 22:24:15 -07:00
Andrew Miner 0a6c185965 Restructure static files into a single directory 2015-03-08 15:05:24 -07:00