This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html> | |
<head> | |
<title>My Twitter Feed</title> | |
</head> | |
<body> | |
<!-- Paste twitter feed here --> | |
<script src="http://widgets.twimg.com/j/2/widget.js"></script> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{block:ListSidebar} | |
<div class="sidebar"> | |
<!-- Add the following between these tags --> | |
<div class="sidebarunit"> | |
<h5>Twitter</h5> | |
<iframe src="http://my-web-host.com/twitter.html" marginheight="0" marginwidth="0" frameborder="0" style="border:0;height:490px;width:175px;"></iframe> | |
</div> | |
<!-- end --> | |
</div> | |
{/block:ListSidebar} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Merb::Config[:bundle_assets] = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= css_include_tag :reset, :master, :thickbox, :bundle => "app_bundle" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if Merb::Config[:bundle_assets] | |
Merb::Assets::JavascriptAssetBundler.add_callback do |filename| | |
yui = Yui.new filename , :suffix => nil, :stomp => true | |
yui.minify | |
end | |
Merb::Assets::StylesheetAssetBundler.add_callback do |filename| | |
yui = Yui.new filename , :suffix => nil, :stomp => true, :type => :css | |
yui.minify | |
end | |
end |