Changeset 176 for trunk


Ignore:
Timestamp:
Jan 19, 2018, 6:34:35 PM (6 years ago)
Author:
g7moreau
Message:
  • POST_CHOMP = 1 on COPYRIGHT template.
Location:
trunk/project-meta
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/project-meta/project-meta

    r175 r176  
    249249      }
    250250   
    251    my $tt = Template->new(INCLUDE_PATH => '/usr/share/project-meta/template.d');
     251   my $tt = Template->new(
     252      INCLUDE_PATH   => '/usr/share/project-meta/template.d',
     253      POST_CHOMP     => 1, # Remove space and carriage return after %]
     254      );
    252255   my $msg_format = '';
    253256   $tt->process('COPYRIGHT.tt',
  • trunk/project-meta/template.d/COPYRIGHT.tt

    r173 r176  
    33Short project name: [% acronym %]
    44
     5 
    56List of authors:
    67[% FOREACH author IN authorlist %]
    78 - [% author %]
     9
    810[% END %]
    911
    1012Description
    1113-----------
    12 
     14 
    1315[% description %]
    1416
    1517OpenData Licence: [% licence %]
    1618
    17 [% IF doi %][% IF doi.size > 1 %]If you use this open data in your work (research or other), please cite in your bibliography the relevant reference amongst the following list of doi:[% FOREACH item IN doi %]
    18  - doi:[% item %][% END %]
    19 [% ELSE %]If you use this open data in your work (research or other), please cite in your bibliography the following reference doi:[% doi %][% END %][% END %]
     19
     20[% IF doi %][% IF doi.size > 1 %]
     21If you use this open data in your work (research or other), please cite in your bibliography the relevant reference amongst the following list of doi:
     22[% FOREACH item IN doi %]
     23 - doi:[% item %]
     24
     25[% END %] 
     26[% ELSE %]
     27If you use this open data in your work (research or other), please cite in your bibliography the following reference doi:[% doi %]
     28[% END %]
     29[% END %]
     30
    2031
    2132----
Note: See TracChangeset for help on using the changeset viewer.