How to submit a blogpost to the UniReps Workshop
Welcome to the UniReps Blogpost Submission guide! This page outlines the steps to submit your blogpost to the UniReps Workshop, where you can share your insights, spark discussions, and connect with the community. We’re excited you’re interested in contributing!
To manage the blogpost track, we rely on al-folio, a Jekyll theme for academic websites. If this is all new to you, don’t worry. It’s simpler than it sounds and we are available for any questions you might have.
Start by forking the repository. You can do that here. Forking creates your own copy of the project where you’ll be able to freely work on your post before submitting it via a pull request (PR).
Next, clone your new repository to your local machine so you can start editing:
git clone git@github.com:UniReps/UniReps.git
cd UniReps
Create a new branch specific for each post submission. We recommend this format for the branch name:
git checkout -b post/<your-post-title>
You could even use the GitHub web interface to directly write the blogpost, but we recommend cloning the repository for a smoother experience.
We’ve got a few options depending on your setup. Choose what works best for you:
Option 1: Jekyll
If you have Jekyll installed, run:
bundle install
bundle exec jekyll serve
Option 2: Docker
If Docker is your thing, simply run:
docker-compose up
Option 3: VS Code
If you are a VS Code user, we suggest using the Dev Container feature, and it will take care of the environment setup for you.
All these options will start a local server, and you’ll be able to preview the website at http://127.0.0.1:8000/.
If you are unsure about which option to choose, we recommend starting with Option 3 as it’s the easiest to set up (assuming you are already using VS Code). However, if you run into any issues, don’t hesitate to reach out to us for help!
Now to the exciting part—writing your blogpost!
We welcome blogposts of different nature:
Remember, the goal is to share your insights, spark discussions, and connect with the community. Keep it engaging and accessible to the broad workshop audience!
Head over to the _posts/
directory and create a new file following this format:
_posts/YYYY-MM-DD-title.md
A great starting point is the template /_posts/2024-10-09-template.md
, the original one from Distill. Create a copy of it (it’s important, don’t directly edit it), rename it, and edit it for your post. It’s already structured for you!
If your post includes media (we recommend to include them to exploit the blogpost format at its best), here’s how to add them:
assets/img/YYYY-MM-DD-title/
.assets/plotly/YYYY-MM-DD-title/
..bib
) in assets/bibliography/YYYY-MM-DD-title.bib
.assets/
folder, placing them in the appropriate subfolder.To display them in your post, use the following syntax:
![Your Media](/blog/assets/complete/media/path/including.extension)
For example, if you have an image unireps_banner.jpeg
in the folder assets/img/2024-10-09-guidelines/
, you would include it in your post like this:
![My Image](/blog/assets/img/2024-10-09-guidelines/unireps_banner.jpeg)
Resulting in:
For more examples on how to include media, check the Post Template or the Distill Guide.
Ready to submit? Follow these steps:
Push the changes from your local machine to your forked repository:
As an example:
git add .
git commit -m "Blogpost submission: <title>"
git push origin master
Now, head to your forked repository on GitHub and open a New Pull Request. Ensure the title reflects the topic of your blogpost, and double-check the description is clear and concise.
Here’s what happens next:
The repository is set up to run automatic checks on your submission so be sure to:
_posts
directory).If everything looks good, the PR will be marked as “Ready for Review” and you will also get a preview link to see how your blogpost will look like on the website.
Your blogpost will be reviewed based on the live content (ignoring the commit history or previous drafts). The review process will focus on the following aspects:
Once your blogpost is accepted, it will be merged into the main repository and published on the website. You will be notified via email and your blogpost will be shared on the workshop’s social media channels.
If you need any help or run into any issues, don’t hesitate to reach out to us:
🔵 We’re here to help! 🔴