Skip to content

Instantly share code, notes, and snippets.

@liyaodong
Last active August 29, 2015 14:17
Show Gist options
  • Save liyaodong/a6b90656cf3e7b309b2b to your computer and use it in GitHub Desktop.
Save liyaodong/a6b90656cf3e7b309b2b to your computer and use it in GitHub Desktop.
ruby-layouts
doctype html
html lang="en"
head
title
| balabala....
link rel="shortcut icon" href="/favicon.ico"
meta charset='utf-8'
meta name="renderer" content="webkit"
meta http-equiv="X-UA-Compatible" content="IE=edge"
meta content='initial-scale=1.0,maximum-scale=1.0,width=device-width' name='viewport' /
meta name="description" content="balabala"
meta name="keyword" conttent="balabala"
= stylesheet_link_tag 'application', :media => 'all'
= csrf_meta_tags
body class=(controller_name + ' ' + controller_name + '_' + action_name)
= render 'share/header'
= yield
= render 'share/footer'
= javascript_include_tag 'application'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment