CS224W Course Notes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

11 lines
534 B

<figure class="maincolumn">
<figcaption class="marginnote">{{ include.caption }}</figcaption>
{%- assign prefix2 = include.url | slice: 0, 2 -%}
{%- assign prefix7 = include.url | slice: 0, 7 -%}
{%- assign prefix8 = include.url | slice: 0, 8 -%}
{%- if prefix2 == '//' or prefix7 == 'http://' or prefix8 == 'https://' -%}
<img src="{{ include.src }}" alt="{{ include.caption }}" />
{%- else -%}
<img src="{{ site.baseurl }}/{{ include.src }}" alt="{{ include.caption }}" />
{%- endif -%}
</figure>