[~ if (r.writing && r.writing.length ) { ~]
%-------------------------------------------------------------------------------
%	SECTION TITLE
%-------------------------------------------------------------------------------
\cvsection{Writing}


%-------------------------------------------------------------------------------
%	CONTENT
%-------------------------------------------------------------------------------
\begin{cventries}
[~ _.each( r.writing, function(wri) { ~]
%---------------------------------------------------------
  \cventry
    {[~ if (_.isString(wri.publisher)) { ~]
    [[ wri.publisher]]
    [~ } else { ~]
    print( wri.publisher ? wri.publisher.name : 'Unknown' )
    [~ } ~]} % Publisher
    {[[ wri.title ]]} % Title
    {[[ wri.url ]]} % URL
    {[[ h.date(wri.date) ]]} % Date(s)
    {[[ wri.summary ]]} % Summary

[~ }); ~]
%---------------------------------------------------------
\end{cventries}
[~ } ~]
