Skip to content

Commit 0e7f8b4

Browse files
committed
Site: align homepage with Hugo Book demo
- Use theme landing layout via content/_index.md (copied demo hero/cards) - Add local layouts/landing.html to route menu.home in header - Enable Goldmark unsafe HTML + TOC config - Configure menu.home items for landing header - Tweak heading render hook to skip anchors on landing - Add portable comment shortcode for easy block hiding - Refine inject/head guard so home-only CSS skips landing - Footer: add simple, config-driven line support (params.footer) - CSS: landing polish + footer helpers
1 parent 9fe8934 commit 0e7f8b4

8 files changed

Lines changed: 110 additions & 107 deletions

File tree

assets/custom.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,3 +231,13 @@
231231
text-decoration: underline;
232232
}
233233

234+
/* Keep landing heading links styled like headings */
235+
.book-kind-home .markdown h2 a.title-link,
236+
.book-kind-home .markdown h3 a.title-link {
237+
color: inherit;
238+
text-decoration: none;
239+
}
240+
.book-kind-home .markdown h2 a.title-link:hover,
241+
.book-kind-home .markdown h3 a.title-link:hover {
242+
text-decoration: underline;
243+
}

config.toml

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ title = "Saber HQ"
44
theme = "book"
55
enableRobotsTXT = true
66

7+
[markup]
8+
[markup.goldmark.renderer]
9+
unsafe = true
10+
11+
[markup.tableOfContents]
12+
startLevel = 1
13+
714
[params]
815
BookTheme = "auto"
916
BookToC = true
@@ -13,19 +20,32 @@ enableRobotsTXT = true
1320

1421
# Top navigation
1522
[menu]
16-
[[menu.main]]
17-
name = "Blog"
18-
url = "/blog/"
19-
weight = 10
20-
[[menu.main]]
21-
name = "Podcast"
22-
url = "/podcast/"
23+
# Links shown on landing page header (Book's landing layout uses menu.home)
24+
[[menu.home]]
25+
name = "GitHub"
26+
url = "https://github.com/saberhq"
27+
weight = 10
28+
29+
[[menu.home]]
30+
name = "LinkedIn"
31+
url = "https://www.linkedin.com/in/saberhq"
2332
weight = 20
24-
[[menu.main]]
25-
name = "Newsletter"
26-
url = "/newsletter/"
33+
34+
[[menu.home]]
35+
name = "Google Scholar"
36+
url = "https://scholar.google.com/citations?user=q2fsO2IAAAAJ&hl=en"
2737
weight = 30
2838

39+
[[menu.home]]
40+
name = "YouTube"
41+
url = "https://www.youtube.com/@saberhq"
42+
weight = 40
43+
44+
[[menu.home]]
45+
name = "X"
46+
url = "https://x.com/saberhq"
47+
weight = 50
48+
2949
# Footer socials (optional)
3050
[params.social]
3151
github = "https://github.com/saberhq"

content/_index.md

Lines changed: 29 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,97 +1,42 @@
11
---
2-
title: "Saber HQ"
2+
title: Introduction
3+
bookHeadingAnchor: false
4+
layout: landing
35
---
46

5-
## Welcome!
7+
<div class="book-hero">
68

7-
My name is Saber. I’m a Research Scientist with 12 years of experience in genomics, data science, and machine learning. I earned my Ph.D. in Bioinformatics at the University of British Columbia (UBC), where I was advised by [Prof. Dr. Inanc Birol](https://www.bcgsc.ca/people/inanc-birol), working at the [Bioinformatics Technology Lab](https://www.birollab.ca/). During my Ph.D., I broadly worked on developing computational tools and software solutions for next-generation sequencing technologies. My doctoral dissertation (see [here](https://open.library.ubc.ca/soa/cIRcle/collections/ubctheses/24/items/1.0444844)) was focused on utilizing machine learning in transcriptome analysis. I am passionate about contributing to the understanding, controlling, and training of foundation models for biology.
9+
# SABER HQ
10+
Friendly notes on what I'm building, reading, and figuring out.
811

9-
Before starting at UBC, I received my M.Sc. in Bioinformatics from [METU](https://ii.metu.edu.tr/), where I was advised by Dr. Hilal Kazan and Dr. Yesim Aydin Son. My B.Sc. was in Information Technology Engineering.
12+
{{< badge style="info" title="Version" value="0.1.0" >}} {{< badge style="default" title="Year" value="2025" >}}
1013

11-
I share updates on my research work as blog posts on this site. And over at The Attention - my frequentish-ly newsletter 😃 - I share the latest news on research and development in the machine learning and AI field and insights from across the web on creative entrepreneurship and productivity. Sign up [here](https://newsletter.saberhq.com/) to join a growing community of friendly readers. ❤️
14+
{{<button href="/resume">}}Resume{{</button>}}
1215

13-
## Recent news
16+
</div>
1417

15-
September 2025: Created this website. I am starting to embrace simplicity in my life and decided to create a minimalistic statis website to share my work and thoughts. If you like the style and theme, look into Hugo's [book theme](https://themes.gohugo.io/themes/book/).
18+
{{% columns %}}
19+
- ## <a href="/podcast/" class="title-link">Podcast</a>
20+
I talk through new research papers in **AI and biology**, the ones shaping how we think about future. This is where I unpack the science I’m reading — new papers, big breakthroughs, and the occasional headline worth a second look. It’s half lab notebook, half **conversation with an AI sidekick.**
1621

17-
July 2025: I got an offer for my first post-PhD position as Computational Scientist at [Genentech](https://www.gene.com/), where I will be working on the development of foundation models for virtual cells.
22+
- ## <a href="/newsletter/" class="title-link">Newsletter</a>
23+
Like _Morning Brew_, but for people who read **preprints for fun!** Each week I break down the biggest AI × Bio ideas into quick, snackable updates you can read over coffee. It’s the stuff I’d be sending friends and labmates anyway — just wrapped up in one weekly note.
24+
{{% /columns %}}
1825

19-
July 2025: Attended [ICML 2025](https://icml.cc/) in Vancouver, Canada. Had a wonderful time connecting with people in AI x Bio community and learned a lot during amazing workshops on [Multi-modal Foundation Models and Large Language Models for Life Sciences](https://icml.cc/virtual/2025/workshop/39959) as well as [Generative AI for Biology](https://icml.cc/virtual/2025/workshop/39968).
2026

21-
December 2024: Attended [NeurIPS 2024](https://neurips.cc/) in Vancouver, Canada.
27+
{{% columns %}}
28+
- {{< card title="Card" image="" >}}
29+
### <a href="/blog/autoencoders" class="title-link">Why Autoencoders are so Effective?</a>
30+
Nullam feugiat urna massa, et fringilla metus consectetur molestie. Suspendisse sed congue orci, eu congue metus.
31+
{{< /card >}}
2232

23-
July 2024: Defended my Ph.D. dissertation and graduated from the University of British Columbia.
33+
- {{< card title="Card" image="" >}}
34+
### <a href="/blog/ntEmbd" class="title-link">ntEmbd for RNA embeddings</a>
35+
Suspendisse sed congue orci, eu congue metus. Nullam feugiat urna massa, et fringilla metus consectetur molestie.
36+
{{< /card >}}
2437

25-
June 2024: The LRGASP research is published in Nature Methods.
26-
27-
May 2024: ntEmbd is available on BioRxiv.
28-
29-
June 2023: Presented ntEmbd at the ISMB/ECCB conference in Lyon, France.
30-
31-
May 2023: RNA-Bloom2 is published in Nature Communications.
32-
33-
March 2023: Meta-NanoSim is published in GigaScience.
34-
35-
## Research
36-
For the most updated and full list of publications, please visit my [Google Scholar](https://scholar.google.com/citations?user=q2fsO2IAAAAJ&hl=en).
37-
38-
ntEmbd: deep learning embedding for nucleotide sequences
39-
Hafezqorani et al. BioRxiv, 2024
40-
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11092672/
41-
42-
Systematic assessment of long-read RNA-seq methods for transcript identification and quantification
43-
LRGASP Consortium, et al. Nature Methods, 2024
44-
https://doi.org/10.1038/s41592-024-02298-3
45-
46-
Reference-free assembly of long-read transcriptome sequencing data with RNA-Bloom2
47-
Nip, Hafezqorani et al. Nature Communications, 2023
48-
https://doi.org/10.1038/s41467-023-38553-y
49-
50-
Characterization and simulation of metagenomic nanopore sequencing data with Meta-NanoSim
51-
Yang, Lo, Nip, Hafezqorani et al. GigaScience, 2023
52-
https://doi.org/10.1093/gigascience/giad013
53-
54-
RNA-Scoop: interactive visualization of transcripts in single-cell transcriptomes.
55-
Stephenson, Nip, Hafezqorani et al. NAR Genomics and Bioinformatics, 2021
56-
https://doi.org/10.1093/nargab/lqab105
57-
58-
Trans-NanoSim characterizes and simulates nanopore RNA-seq data
59-
Hafezqorani et al. GigaScience, 2020
60-
https://doi.org/10.1093/gigascience/giaa061
61-
62-
RBPSponge: genome-wide identification of lncRNAs that sponge RBPs
63-
Hafezqorani et al. Bioinformatics, 2019
64-
https://doi.org/10.1093/bioinformatics/btz448
65-
66-
Predicting clinical outcomes in neuroblastoma with genomic data integration
67-
Baali, Acar, Aderinwale, Hafezqorani et al. Biology Direct, 2018
68-
https://doi.org/10.1186/s13062-018-0223-8
69-
70-
Modeling the combined effect of RNA-binding proteins and microRNAs in post-transcriptional regulation
71-
Hafezqorani et al. Nucleic Acids Research, 2016
72-
https://doi.org/10.1093/nar/gkw048
73-
74-
## Selected Talks & Presentations
75-
ISMB / ECCB (MLCSB COSI) - Lyon, France - 2023 | ntEmbd (first author)
76-
77-
Genome Informatics - Virtual - 2021 | ntEmbd (first author)
78-
79-
ISMB (Microbiome COSI) - Virtual - 2020 | Meta-NanoSim (co-author)
80-
81-
ISMB (BioVis COSI) - Virtual - 2020 | RNA-Scoop (co-author)
82-
83-
ISMB / ECCB (HiTSeq COSI) - Basel, Switzerland - 2019 | Trans-NanoSim (first author)
84-
85-
ISMB / ECCB (RNA COSI) - Basel, Switzerland - 2019 | RNA-Bloom (co-author)
86-
87-
Genome Informatics - Cambridge, United Kingdom - 2018 | Trans-NanoSim (first author)
88-
89-
HIBIT - Antalya, Turkey - 2018 | Trans-NanoSim (first author)
90-
91-
ISMB / ECCB (RNA COSI) - Prague, Czech Republic - 2017 | RBPSponge (first author)
92-
93-
ISMB / ECCB (CAMDA COSI) - Prague, Czech Republic - 2017 | Neuroblastoma (first author)
94-
95-
FEBS - Kusadasi, Turkey - 2016 | APA in lung squamous cell carcinoma (first author)
96-
97-
ISMB / ECCB (RNA COSI) - Dublin, Ireland - 2015 | RBP-mediated regulation in cancer (first author)
38+
- {{< card title="Card" image="" >}}
39+
### <a href="/blog/NanoSim" class="title-link">NanoSim simulates ONT sequencing data</a>
40+
Suspendisse sed congue orci, eu congue metus. Nullam feugiat urna massa, et fringilla metus consectetur molestie.
41+
{{< /card >}}
42+
{{% /columns %}}

layouts/_default/_markup/render-heading.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
{{/* Render hook for Markdown headings: add Back to top link */}}
1+
{{/* Render hook for Markdown headings: add Back to top link (disabled on landing or when bookHeadingAnchor=false) */}}
22
{{ $lvl := .Level }}
33
{{ $txt := .Text | safeHTML }}
44
{{ $id := .Anchor | default (anchorize .Text) }}
5-
{{ if ge $lvl 2 }}
6-
<h{{ $lvl }} id="{{ $id }}">{{ $txt }} <a class="back-to-top" href="#top" aria-label="Back to top">Back to top</a></h{{ $lvl }}>
7-
{{ else }}
5+
{{ $page := .Page }}
6+
{{ $disable := or (eq $page.Layout "landing") (not (default true $page.Params.bookHeadingAnchor)) }}
7+
{{ if or (lt $lvl 2) $disable }}
88
<h{{ $lvl }} id="{{ $id }}">{{ $txt }}</h{{ $lvl }}>
9+
{{ else }}
10+
<h{{ $lvl }} id="{{ $id }}">{{ $txt }} <a class="back-to-top" href="#top" aria-label="Back to top">Back to top</a></h{{ $lvl }}>
911
{{ end }}
10-
Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{{/* Footer meta + social links */}}
22
<div class="footer-meta">
3-
<span>© {{ now.Format "2006" }} Saber HQ. All rights reserved.</span>
3+
<span>© {{ now.Format "2006" }} Saber HQ. All rights reserved. </span>
44
</div>
55

6-
{{ $soc := .Site.Params.social }}
7-
{{ if $soc }}
6+
7+
{{/* Footer links sourced from menu.home (keeps same order) */}}
8+
{{ $home := .Site.Menus.home }}
9+
{{ if $home }}
810
<div class="footer-socials">
9-
{{ with $soc.github }}<a href="{{ . }}" target="_blank" rel="noopener noreferrer">GitHub</a>{{ end }}
10-
{{ with $soc.linkedin }}<a href="{{ . }}" target="_blank" rel="noopener noreferrer">LinkedIn</a>{{ end }}
11-
{{ with $soc.youtube }}<a href="{{ . }}" target="_blank" rel="noopener noreferrer">YouTube</a>{{ end }}
12-
{{ with $soc.twitter }}<a href="{{ . }}" target="_blank" rel="noopener noreferrer">Twitter</a>{{ end }}
11+
{{ range $home }}
12+
<a href="{{ .URL }}" {{ if not .Page }}target="_blank" rel="noopener noreferrer"{{ end }}>
13+
{{ .Name }}
14+
</a>
15+
{{ end }}
1316
</div>
1417
{{ end }}
18+

layouts/_partials/docs/inject/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{ with $css }}
44
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
55
{{ end }}
6-
{{ if .IsHome }}
6+
{{ if and .IsHome (ne .Layout "landing") }}
77
<style>
88
/* Hide Book side panels on the landing page only */
99
.book-menu, .book-toc { display: none !important; }

layouts/landing.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{{ define "menu-container" }}
2+
<!-- -->
3+
{{ end }}
4+
5+
{{ define "toc-container" }}
6+
<!-- -->
7+
{{ end }}
8+
9+
{{ define "footer" }}
10+
<!-- -->
11+
{{ end }}
12+
13+
{{ define "header" }}
14+
{{ partial "docs/menu-hugo" .Site.Menus.home }}
15+
{{ end }}
16+
17+
{{ define "main" }}
18+
<article class="markdown book-article">
19+
{{- .Content -}}
20+
</article>
21+
{{ end }}
22+

layouts/shortcodes/comment.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{/* swallow inner content */}}

0 commit comments

Comments
 (0)