I'm not completely certain how Octopress works, but in Jekyll (which Octopress is based on) you could use the pages accessor to loop through all the pages. It would work something like this:
{% for page in site.pages %}
<a href="{{ page.url }}">{{ page.title }}</a>
{% endfor %}