_includes/footer.html in sutty-jekyll-theme-0.3.6 vs _includes/footer.html in sutty-jekyll-theme-0.3.7

- old
+ new

@@ -1,32 +1,31 @@ -{%- assign license = site.posts | find: "layout", "license" -%} -{%- assign code_of_conduct = site.posts | find: "layout", "code_of_conduct" -%} -{%- assign privacy_policy = site.posts | find: "layout", "privacy_policy" -%} +{%- assign license = site.posts | find: 'layout', 'license' -%} +{%- assign code_of_conduct = site.posts | find: 'layout', 'code_of_conduct' -%} +{%- assign privacy_policy = site.posts | find: 'layout', 'privacy_policy' -%} <footer class="p-3"> <ul class="list-unstyled"> {%- if site.activity_pub_profile -%} - {{- site.i18n.footer.fediverse -}} - <span> - @{{ site.activity_pub_profile -}} - </span> + {{- site.i18n.footer.fediverse -}} + <span> @{{ site.activity_pub_profile -}}</span> </p> {%- endif -%} - {% if license %} - <li> - <a href="{{ license.url }}" rel="license">{{ license.title }}</a> - </li> - {% endif %} + {% if license %} + <li> + <a href="{{ license.url }}" rel="license">{{ license.title }}</a> + </li> + {% endif %} - {% if code_of_conduct %} - <li> - <a href="{{ code_of_conduct.url }}" rel="code-of-conduct">{{ code_of_conduct.title }}</a> - </li> - {% endif %} + {% if code_of_conduct %} + <li> + <a href="{{ code_of_conduct.url }}" rel="code-of-conduct">{{ code_of_conduct.title }}</a> + </li> + {% endif %} - {% if privacy_policy %} - <li> - <a href="{{ privacy_policy.url }}" rel="privacy-policy">{{ privacy_policy.title }}</a> - </li> - {% endif %} + {% if privacy_policy %} + <li> + <a href="{{ privacy_policy.url }}" rel="privacy-policy">{{ privacy_policy.title }}</a> + </li> + {% endif %} + </ul> </footer>