Skip to content

Instantly share code, notes, and snippets.

@yoeun
Last active December 22, 2015 04:29
Show Gist options
  • Select an option

  • Save yoeun/6417490 to your computer and use it in GitHub Desktop.

Select an option

Save yoeun/6417490 to your computer and use it in GitHub Desktop.
Basic HTML5 document
!!! 5
%html
%head
%meta{ :charset => "utf-8" }
%title= "Website"
%meta{ :name => "description", :content => "" }
%meta{ :name => "author", :content => "Yoeun Pen" }
%link{ :href => "css/main.css", :media => "screen", :rel => "stylesheet" }
%script{ :src => "js/modernizr.js" }
%body
%header
Website
%div
Lorem ipsum
%footer
= "© #{DateTime.now.strftime('%Y')} Yoeun Pen"
%script{ :src => "js/main.js" }
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>website</title>
<meta name="description" content="website">
<meta name="author" content="Yoeun Pen">
<link rel="stylesheet" href="css/main.css?v=1.0">
<script src="js/modernizr.js"></script>
</head>
<body>
<header>Website</header>
<div>
Lorem ipsum
</div>
<footer>
&copy; 2013 Yoeun Pen
</footer>
<script src="js/main.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment