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