about summary refs log tree commit diff
path: root/users/fcuny/blog/layouts/_default (follow)
Commit message (Collapse)AuthorAgeFilesLines
* CSS: switch from class to idFranck Cuny2022-01-231-5/+5
| | | | These elements are unique on each page.
* layout: no need for a class to element 'article'Franck Cuny2022-01-232-2/+2
|
* layout: proper TOCFranck Cuny2022-01-231-4/+13
| | | | | | | | | | | | There's a need for two TOCs in the layout: one for when the page is on mobile; one for non mobile. When we are on mobile, we display the first TOC, before the article. When we're not on mobile, we hide that TOC and display one after the document. We restructure a bit the layout so that's it's a bit more readable too, and close tags properly.
* layout: wrap content in an "article" tagFranck Cuny2022-01-231-0/+4
|
* layout: drop the div 'main'Franck Cuny2022-01-231-6/+4
| | | | | The div 'main' is not needed, we are creating an element named 'named' in the main block.
* post: change formatting for the dateFranck Cuny2022-01-211-4/+4
|
* CSS: use decoration on headers only for articlesFranck Cuny2021-08-231-2/+6
| | | | | | | | | | Add an element "article" to the single page template, and change the CSS to use the decoration for headers only for that kind of content. Having decoration for all headers is distracting, it's more suited for actual content. We also don't need decoration for h1, only smaller headers.
* CSS: support table of contentFranck Cuny2021-08-151-0/+7
| | | | | If an entry has the parameter `#+toc` set to `t`, we will enable the table of content in the page.
* layout: add a navbarFranck Cuny2021-04-223-8/+3
| | | | | | | | | | | | | I want to differentiate blog's entries from more general notes. For this, we create two menu entries, and add a navbar at the top. The nav bar let us select between the two kind of articles: blogs or notes. For now we have a single blog entry, and no notes. The page to list entries is simplified: we use the same layout for all lists (tags, notes, blogs). The CSS is updated to support the new nav bar.
* layout: add date and tags to single pagesFranck Cuny2021-04-061-1/+26
| | | | | | | We want to show the tags and the published/updated date for the articles. Add to the CSS the classes for these new elements.
* initial site with hugoFranck Cuny2021-03-073-0/+32
Start my website from scratch once more, using hugo to generate it. For now the layout is pretty simple: - an index page that will list future notes - notes should be created under the "content" directory The theme is custom and I'll try to keep this simple.