sort tags

git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@53 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7
master
andrew 2007-12-04 06:02:56 +00:00
parent 624e1a90ec
commit 3cba3153b0
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
<%= @page.html %>
</div>
<% unless simple -%><ul class="meta">
<% if @page.tags.size > 0 -%><li>Tags: <%= @page.tag_names.join(' ') -%></li><% end -%>
<% if @page.tags.size > 0 -%><li>Tags: <%= @page.tag_names.sort.join(' ') -%></li><% end -%>
<li>Version: <%= @page.version -%></li>
<% @page.owner.page_attributes.each do |x| -%>
<li><%= x -%></li>