From ea64eeb46475e6e630449d2b43bc43c8d1609580 Mon Sep 17 00:00:00 2001 From: Kevin Bonham Date: Mon, 17 Aug 2026 20:56:52 -0400 Subject: [PATCH 1/2] Fix order of posts, add some front matter --- rosalind/07-iprb.md | 7 +++++++ rosalind/08-prot.md | 9 ++++++++- rosalind/09-subs.md | 7 +++++++ utils.jl | 7 ++++++- 4 files changed, 28 insertions(+), 2 deletions(-) diff --git a/rosalind/07-iprb.md b/rosalind/07-iprb.md index fe0b945..02981aa 100644 --- a/rosalind/07-iprb.md +++ b/rosalind/07-iprb.md @@ -1,3 +1,10 @@ ++++ +using Dates +date = Date("2026-02-18") +title = "Problem 7: Mendel's First Law" +rss_descr = "Solving Rosalind problem IPRB — computing the probability of dominant-allele offspring — using base Julia." ++++ + # Mendel's First Law 🤔 [Problem link](https://rosalind.info/problems/iprb/) diff --git a/rosalind/08-prot.md b/rosalind/08-prot.md index aedd84a..61e4972 100644 --- a/rosalind/08-prot.md +++ b/rosalind/08-prot.md @@ -1,3 +1,10 @@ ++++ +using Dates +date = Date("2026-02-20") +title = "Problem 8: Translating RNA into Protein" +rss_descr = "Solving Rosalind problem PROT using base Julia." ++++ + # Translating RNA into Protein 🤔 [Problem link](https://rosalind.info/problems/prot/) @@ -204,4 +211,4 @@ Similar to our function, the BioSequences function also throws an error if the i ```julia translate(rna"AUGGA") -``` \ No newline at end of file +``` diff --git a/rosalind/09-subs.md b/rosalind/09-subs.md index 562edf7..60403f2 100644 --- a/rosalind/09-subs.md +++ b/rosalind/09-subs.md @@ -1,3 +1,10 @@ ++++ +using Dates +date = Date("2026-02-23") +title = "Problem 9: Finding a Motif in DNA" +rss_descr = "Solving Rosalind problem SUBS — finding all locations of a motif in a DNA string — using base Julia." ++++ + # Finding a Motif in DNA 🤔 [Problem link](https://rosalind.info/problems/subs/) diff --git a/utils.jl b/utils.jl index ef35bd1..a74e5b1 100644 --- a/utils.jl +++ b/utils.jl @@ -53,7 +53,12 @@ end function hfun_list_dir(args::Vector{String}) isempty(args) && return "" - return _render_posts(get_posts("", args[1])) + posts = get_posts("", args[1]) + sort!(posts, by=p -> begin + m = match(r"/(\d+)[^/]*$", p.href) + m === nothing ? typemax(Int) : parse(Int, m.captures[1]) + end) + return _render_posts(posts) end function hfun_list_series() From 07e3120e49564dd71cd5e71ac1e0ae983a015bad Mon Sep 17 00:00:00 2001 From: Kevin Bonham Date: Tue, 18 Aug 2026 11:50:17 -0400 Subject: [PATCH 2/2] Attempt to fix preview on build --- .github/workflows/Deploy.yml | 2 +- config.md | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml index 4685751..f3ac8dc 100644 --- a/.github/workflows/Deploy.yml +++ b/.github/workflows/Deploy.yml @@ -30,5 +30,5 @@ jobs: - name: Comment PR preview URL uses: thollander/actions-comment-pull-request@v2 with: - message: "Preview at https://biojulia.github.io/BioTutorials/${{ env.PRID }}" + message: "Preview at https://biojulia.dev/BioTutorials/${{ env.PRID }}" if: github.event_name == 'pull_request_target' diff --git a/config.md b/config.md index 265b441..d81415b 100644 --- a/config.md +++ b/config.md @@ -4,7 +4,6 @@ Add here global page variables to use throughout your website. +++ author = "BioJulia Developers" mintoclevel = 2 -base_url_prefix = "BioTutorials" ignore = ["node_modules/", "CLAUDE.md"]