We are using the up-flashes
attribute as documented here.
<divclass="col-md-3"><nav><ahref="/unpoly/1" up-target="article:maybe" up-cache="false">1st</a><ahref="/unpoly/2" up-target="article:maybe" up-cache="false">2nd</a></nav></div><divclass="col-md-3"><article>Default Content 1</article></div><divclass="col-md-3"><divup-flashes></div></div>
Note
We use up-cache
to prevent unpoly from caching the content. We also set the selector with :maybe
to tell unpoly not to throw error because we are not returning any matching element for article.