From def857a0dd215a7c9c90b395727f3121b945eeca Mon Sep 17 00:00:00 2001
From: Emil Melnikov <emilmelnikov@gmail.com>
Date: Mon, 31 May 2021 14:56:14 +0200
Subject: [PATCH] Add links to external projects

Closes https://github.com/ilastik/ilastik.github.io/issues/143.
---
 _data/contrib_links.yaml         |  8 ++++
 community.html                   | 79 ++++++++++++++++++++------------
 documentation/basics/headless.md |  4 ++
 3 files changed, 62 insertions(+), 29 deletions(-)
 create mode 100644 _data/contrib_links.yaml

diff --git a/_data/contrib_links.yaml b/_data/contrib_links.yaml
new file mode 100644
index 00000000..47978c3e
--- /dev/null
+++ b/_data/contrib_links.yaml
@@ -0,0 +1,8 @@
+## Thank you for contributing your project link!
+## Please add your project details to the bottom of this file.
+
+- title: "Utility ImageJ macros"
+  description: |
+    Run ilastik Pixel Classifier followed by ilastik boundary based segmentation on all files in a given folder.
+  author: "Ofra Golani at the MICC Cell Observatory, Weizmann Institute of Science"
+  url: "https://github.com/WIS-MICC-CellObservatory/Utils"
diff --git a/community.html b/community.html
index ef09a165..189429c2 100644
--- a/community.html
+++ b/community.html
@@ -1,29 +1,50 @@
----
-title: Contact
-tagline: ask the friendly ilastik team for help
-category: "Contact"
----
-<div class="row">
-<div class="col-sm-8 col-sm-offset-1">
-
-<p>
-If you want to report bugs or request new features, please
-use our <a href="https://github.com/ilastik/ilastik/issues">issue tracker</a> on github.
-</p>
-
-<p>
-For user discussions and support from the team and from the community, please use the <a href="https://forum.image.sc/tags/ilastik">image.sc forum</a> (tagging your posts with <code>ilastik</code>).
-</p>
-
-<p>
-If you need to send us data you'd rather not post publicly, e-mail the ilastik team directly at
-<a href="mailto:team@ilastik.org?Subject=ilastik question" target="_top">
-team@ilastik.org</a>.
-</p>
-
-<!-- <p>
-If you want to earn money improving ilastik, look at our <b><a href="https://hci.iwr.uni-heidelberg.de/Jobs/#software">job offers</a></b>.
-</p> -->
-
-</div>
-</div>
+---
+title: Contact
+tagline: ask the friendly ilastik team for help
+category: "Contact"
+---
+<div class="row">
+<div class="col-sm-8 col-sm-offset-1">
+
+<p>
+If you want to report bugs or request new features, please
+use our <a href="https://github.com/ilastik/ilastik/issues">issue tracker</a> on github.
+</p>
+
+<p>
+For user discussions and support from the team and from the community, please use the <a href="https://forum.image.sc/tags/ilastik">image.sc forum</a> (tagging your posts with <code>ilastik</code>).
+</p>
+
+<p>
+If you need to send us data you'd rather not post publicly, e-mail the ilastik team directly at
+<a href="mailto:team@ilastik.org?Subject=ilastik question" target="_top">
+team@ilastik.org</a>.
+</p>
+
+<h2>Contrib Code</h2>
+
+<div class="list-group">
+  {% for repo in site.data.contrib_links %}
+    <a href="{{ repo.url }}" class="list-group-item">
+      <h3 class="list-group-heading">
+        {{ repo.title }}
+        <small>{{ repo.author }}</small>
+      </h3>
+      <p class="list-group-item-text">{{ repo.description }}</p>
+    </a>
+  {% endfor %}
+</div>
+
+<p>
+  <a href="https://github.com/ilastik/ilastik.github.io/edit/master/_data/contrib_links.yaml">
+    <button type="button" class="btn btn-primary">Add your project</button>
+  </a>
+</p>
+
+
+<!-- <p>
+If you want to earn money improving ilastik, look at our <b><a href="https://hci.iwr.uni-heidelberg.de/Jobs/#software">job offers</a></b>.
+</p> -->
+
+</div>
+</div>
diff --git a/documentation/basics/headless.md b/documentation/basics/headless.md
index 6d30c5f7..ebdd7da3 100644
--- a/documentation/basics/headless.md
+++ b/documentation/basics/headless.md
@@ -53,6 +53,10 @@ CPU and RAM resources can be controlled with environment variables or a config f
 
 [controlling resources]: {{site.baseurl}}/documentation/basics/installation#controlling-cpu-and-ram-resources
 
+### External Projects
+
+We have [a list of projects]({{site.baseurl}}/community) that call headless ilastik from their scripts or code.
+
 ## Input options
 
 **Required settings:**