Implémentation

This commit is contained in:
Bastien Dumont 2022-01-15 21:35:22 +01:00
parent f3a8db3409
commit 098cc77700

View File

@ -148,20 +148,10 @@
</macro>
<macro name="digitalReference">
<choose>
<if type="webpage post-weblog" match="any">
<group delimiter=" ">
<text macro="digitalLocation"/>
<text macro="digitalAccessed"/>
</group>
</if>
<else>
<group delimiter=", ">
<text macro="digitalLocation"/>
<text macro="digitalAccessed"/>
</group>
</else>
</choose>
<group delimiter=" ">
<text macro="digitalLocation"/>
<text macro="digitalAccessed"/>
</group>
</macro>
<macro name="sourceAuthor">
@ -655,18 +645,12 @@
<macro name="digitalAccessed">
<choose>
<if type="webpage post-weblog" match="none">
<group delimiter=" ">
<text term="accessed"/>
<date variable="accessed" form="numeric"/>
</group>
</if>
<else>
<if type="webpage post-weblog" match="any">
<group prefix="(" suffix=")" delimiter=" ">
<text term="accessed"/>
<date variable="accessed" form="numeric"/>
</group>
</else>
</if>
</choose>
</macro>