Sources for the DataLad blog https://blog.datalad.org/
  • HTML 70.3%
  • Shell 29.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yaroslav Halchenko 20bcabc007
All checks were successful
Codespell / Check for spelling errors (pull_request) Successful in 18s
Basic stab at a blog post about using git for "experimentation"
The idea is to provide a very lean/concentrated list of some features of git,
git-annex, and datalad, which scale up nicely to scientific experimentation.
The hope is that discovering those for some readers could make experimentation
more "safe", and thus lets taxing mentally.  I still run into folks
afraid of doing something (under git) to "not break it".  Some tips here to
present here would be to make them do "crazy" things with git intentionally
since they would know *now* that this particular steps are "safe"
2025-08-08 08:48:38 -04:00
.datalad [DATALAD] new dataset 2024-07-12 15:52:54 +02:00
.forgejo/workflows Simplify build workflow using new action feature 2024-08-30 12:06:15 +02:00
.github/workflows Add github action to codespell main on push and PRs 2024-07-22 15:33:57 -10:00
archetypes New site with some initial setup and content 2024-07-12 07:46:01 +02:00
content Basic stab at a blog post about using git for "experimentation" 2025-08-08 08:48:38 -04:00
covers Merge branch 'nextcloud' 2025-03-11 17:34:18 +01:00
layouts/partials doc: provide comment for image zooming code 2024-12-06 13:42:57 -08:00
static New site with some initial setup and content 2024-07-12 07:46:01 +02:00
themes Update PaperMod theme 2025-03-09 19:40:31 +01:00
.codespellrc Add rudimentary codespell config 2024-07-22 15:33:57 -10:00
.gitattributes Always annex covers 2024-08-19 07:37:46 +02:00
.gitignore New site with some initial setup and content 2024-07-12 07:46:01 +02:00
.gitmodules Add papermod theme 2024-07-12 07:44:37 +02:00
cover_template.svg Give names to elements in the cover template - makes layers manipulation easier 2024-12-10 14:26:27 -05:00
hugo.yaml More basic organization and demo'ing essential bits 2024-07-12 15:56:42 +02:00
README.md doc: Fix a few typos in README.md 2024-10-13 16:25:22 -07:00

Sources for the DataLad blog

This is a DataLad dataset containing a Hugo website.

Visit the blog at: https://blog.datalad.org

Contribute an article

To contribute an article, clone this DataLad dataset. If you have Hugo installed, you could follow their instruction to create new content. Otherwise, create a new directory under content/posts/. The name of the directory will be the slug of the new article. Inside that directory, create an index.md file.

Include front matter at the top of the file. Here is a starting point:

---
title: 'A blog on data management and DataLad'
date: 2024-07-11T20:28:47+02:00
author:
- Michael Hanke
- ...
tags:
- DataLad
- ...
cover:
  # webp (or png, jpg) should be 1200x630 px for social media cards
  image: cover.webp
  alt: DataLad minions reading and climbing books to write something.
  # must be 'true' if image is in page bundle, i.e. next to the
  # markdown file with the article
  relative: true
# important bits should be within the first 110 chars of the description
description: >
  On starting a blog after more than a decade of working on DataLad.
# optional choices, can be deleted
# within-article table of contents shown
showToc: true
# hide top-level metadata (date, length, author)?
hidemeta: false
# no highlighting of "code"
disableHLJS: true # to disable highlightjs
# no sharing buttons
disableShare: false
# no summary shown at the top
hideSummary: false
---

Now compose the article underneath the front matter.

Add as many figures and illustrations as desired. Do add a cover image (see front matter). There is a template cover_template.svg with the right sizes and shapes. Lastly convert to webp format using your favorite workflow (e.g., inkscape > png > gimp > webp).

Commit your changes when done. A datalad save -m "<message>" will do the right thing. Otherwise, commit the text to Git, and annex any image or media file, regardless of its size.

If you have Hugo, use the server to get to see what you are writing, while you write. This will need the subdataset with the theme, installed. Get it via datalad get --recursive ..