diff --git a/_includes/icon.liquid b/_includes/icon.liquid new file mode 100644 index 000000000000..60ca589aaf67 --- /dev/null +++ b/_includes/icon.liquid @@ -0,0 +1,27 @@ +{% assign addIcon = include.icon %} +{{ include.alt }} +{% if include.spaceAfter %} + +{% endif %} diff --git a/_layouts/github-project.liquid b/_layouts/github-project.liquid new file mode 100644 index 000000000000..bdb33f1ba5bd --- /dev/null +++ b/_layouts/github-project.liquid @@ -0,0 +1,49 @@ +--- +layout: default +--- +{% if page._styles %} + + +{% endif %} + +
+
+
+

+ {{ page.title }} + {% if page.icons %} +
+ {% for iconLink in page.icons %} + {% include icon.liquid icon=iconLink %} + {% endfor %} +
+ {% endif %} +

+
+

{{ page.description }}

+ {% if page.repositories %} +
+ {% for repo in page.repositories %} + {% include repository/repo.liquid repository=repo %} + {% endfor %} +
+ {% endif %} +
+ +
+ {{ content }} +
+ + {% if page.related_publications %} +

References

+
+ {% bibliography --cited_in_order %} +
+ {% endif %} + + {% if site.giscus and page.giscus_comments %} + {% include giscus.liquid %} + {% endif %} +