Skip to content

Commit

Permalink
site updates for 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Burks committed Nov 18, 2009
1 parent 3a902cc commit 69f0bfb
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 21 deletions.
6 changes: 3 additions & 3 deletions builder.nu
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
(- (id) path is
(self descriptionWithCalendarFormat:"%Y/%m/%d" timeZone:nil locale:nil)))

(macro render-partial
(macro-0 render-partial
(try
(set __name (eval (car margs)))
(set __result (eval (NuTemplate codeForString:(NSString stringWithContentsOfFile:"views/_#{__name}.nuhtml"))))
Expand All @@ -89,15 +89,15 @@
(puts "error in template _#{__name}.nuhtml (#{(__exception name)} #{(__exception reason)})")
"")))

(macro render-page
(macro-0 render-page
(try
(set __name (eval (car margs)))
(eval (NuTemplate codeForString:(NSString stringWithContentsOfFile:"views/#{__name}.nuhtml")))
(catch (__exception)
(puts "error in template #{__name}.nuhtml (#{(__exception name)} #{(__exception reason)})")
"")))

(macro render-xml
(macro-0 render-xml
(try
(set __name (eval (car margs)))
(eval (NuTemplate codeForString:(NSString stringWithContentsOfFile:"views/#{__name}.nuxml")))
Expand Down
9 changes: 3 additions & 6 deletions pages/downloads/body.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,14 @@

Here is a link to a binary installer for Nu. It will install the Nu framework in <code>/Library/Frameworks</code>, the Nu shell and several utilities in <code>/usr/local/bin</code>, and examples and support files in <code>/usr/local/share</code>.

The Nu binary installer: [Nu-0.3.3.dmg](/releases/Nu-0.3.3.dmg)
The Nu binary installer: [Nu-0.4.0.dmg](/releases/Nu-0.4.0.dmg)

## <a name="source">Source</a>

Here is a link to the latest source release for Nu. To build and install Nu, follow these [instructions](/installing).

The Nu source release: [Nu-0.3.3.tgz](/releases/Nu-0.3.3.tgz)
The Nu source release: [Nu-0.4.0.tgz](/releases/Nu-0.4.0.tgz)

## <a name="git">Git</a>

The Nu source code is managed with [git](http://git.or.cz). You can browse the Nu repository at [code.neontology.com](http://code.neontology.com). To get a local copy of the Nu repository, use the following command:
<pre>
git clone git://code.neontology.com/Nu.git
</pre>
The Nu source code is managed with [git](http://git.or.cz). You can browse and download the Nu repository at [github.com/timburks/nu](http://github.com/timburks/nu).
8 changes: 8 additions & 0 deletions pages/downloads/extended.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
<th align="left">notes</th>
</tr>

<tr>
<td>17-Nov-2009</td>
<td><a href="/releases/Nu-0.4.0.dmg">Nu-0.4.0.dmg</a></td>
<td><a href="/releases/Nu-0.4.0.tgz">Nu-0.4.0.tgz</a></td>
<td>A new macro operator, support for Debian Linux.
</td>
</tr>

<tr>
<td>03-Dec-2008</td>
<td><a href="/releases/Nu-0.3.3.dmg">Nu-0.3.3.dmg</a></td>
Expand Down
15 changes: 15 additions & 0 deletions posts/2009-11-17-Nu-0.4.0/body.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

See the [downloads](/downloads) page for this long-overdue update to Nu.

The most visible change in this release is that the **macro** operator
has been switched to refer to **macro-1**
instead of **macro-0** (the original
Nu macro facility). That is deprecated but kept for compatibility.

We've also been making good progress running Nu on Linux-based systems.
Currently a few small sites (including Tim's [blog](http://neontology.com)
are running with Nu on Rackspace Cloud Servers. See notes/DEBIANINSTALL in the
Nu source distribution for details about building for Debian.



Empty file.
5 changes: 5 additions & 0 deletions posts/2009-11-17-Nu-0.4.0/info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

creationDate: 2009-11-17 12:00:00 -0700
format : markdown
permalink : Nu-0.4.0
title : "Nu-0.4.0"
22 changes: 10 additions & 12 deletions views/_sidebar.nuhtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,21 @@

<div class="sidebar-node">
<h2><a href="/about">About Nu&#8482;</a></h2>
<h2><a href="/about-me">About Me</a></h2>
<ul>
<li><a href="http://twitter.com/timburks">twitter.com/timburks</a></li>
<li><a href="http://del.icio.us/timburks">del.icio.us/timburks</a></li>
<li><a href="http://blog.neontology.com">blog.neontology.com</a></li>
<li><a href="http://tootsweet.com">tootsweet software</a></li>
</ul>

<a href="http://tootsweet.com/masyu"><img src="/files/masyu-solved.png" style="margin-top:10px" /></a>

<h2><a href="http://www.ohloh.net/projects/11589?p=Nu">
<img src="/files/ohloh_profile.png" alt="ohloh profile"/>
</a> </h2>
</div>

<div class="sidebar-node">
<h2><a href="/community">Community</a></h2>
<ul>
<li><a href="http://twitter.com/timburks">twitter.com/timburks</a></li>
<li><a href="http://twitter.com/itfrombit">twitter.com/itfrombit</a></li>
<li><a href="http://twitter.com/grayson">twitter.com/grayson</a></li>
<li><a href="http://twitter.com/jsallis">twitter.com/jsallis</a></li>
<li><a href="http://twitter.com/importantshock">twitter.com/importantshock</a></li>
<li><a href="mailto:tim@neontology.com">...who have we missed?</a></li>
</ul>
</div>

<div class="sidebar-node">
Expand All @@ -36,8 +34,8 @@
<div class="sidebar-node">
<h2>Git Repositories</h2>
<ul>
<li><a href="http://github.com/timburks">github.com/timburks</a></li>
<li><a href="http://code.neontology.com">code.neontology.com</a></li>
<li><a href="http://github.com/timburks/nu">github.com/timburks/nu</a></li>
<li><a href="http://github.com/timburks/programmingnu">github.com/timburks/programmingnu</a></li>
</ul>
</div>

Expand Down

0 comments on commit 69f0bfb

Please sign in to comment.