Use second_logo instead of logoleft

Change-Id: Id1192aee665611c437344f2c976ec0903273113a
diff --git a/inst/rmarkdown/templates/posterdown_ids/resources/template.html b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
index 8f3be50..c066cc9 100644
--- a/inst/rmarkdown/templates/posterdown_ids/resources/template.html
+++ b/inst/rmarkdown/templates/posterdown_ids/resources/template.html
@@ -92,7 +92,7 @@
 display: table-cell;
 }
 .logo_left {
-margin-left: 2cm;
+margin-left: $if(second_logo.margin-left)$$second_logo.margin-left$$else$14.5cm$endif$;
 float: left;
 height: 100%;
 display: flex;
@@ -460,11 +460,17 @@
 <div class="title_container0">
 <!-- Left Logo  -->
 <div class="logo_left">
+$if(second_logo.url)$
+<img src="$second_logo.url$"" style="margin-top: auto;
+    margin-bottom: auto;
+    height: 50%;">
+$else$
 $if(logoleft_name)$
 <img src=$logoleft_name$ style="margin-top: auto;
     margin-bottom: auto;
     height: 50%;">
 $endif$
+$endif$
 </div>
 <!-- Right Logo  -->
 <div class="logo_right">