Skip to content

Commit

Permalink
factored out ruby material into it's own file and added disqus commen…
Browse files Browse the repository at this point in the history
…ting partial
  • Loading branch information
doolin committed Apr 19, 2012
1 parent 195e35b commit be96cc5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
18 changes: 18 additions & 0 deletions source/content/_disqus.html.haml
@@ -0,0 +1,18 @@
#disqus_thread
:javascript
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'rubymacros'; // required: replace example with your forum shortname
var disqus_developer = 1;

/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
%noscript
Please enable JavaScript to view the
%a{:href => "http://disqus.com/?ref_noscript"} comments powered by Disqus.
%a.dsq-brlink{:href => "http://disqus.com"}
blog comments powered by
%span.logo-disqus Disqus
10 changes: 10 additions & 0 deletions source/content/_ruby.html.md
@@ -0,0 +1,10 @@

### The state of the Ruby

From the Pickaxe (4th ed., p. 378), we have macros defined as
Ruby methods which generate code "behind the scenes" by
turning small bits of code into larger bits of code.

(Add more bits here, briefly summarizing without going into much
detail.)

0 comments on commit be96cc5

Please sign in to comment.