pages/_includes
George a9da28e256
Renamed repo-img- to only- to allow setting images for only one theme (#2886)
Closes #930.

We already had classes for this kind of feature, but it was used
specifically for repository information. Just renamed the classes so it
is clear how they can be used.

To use them with markdown, just do it like this:

```markdown
![Only light](assets/img/prof_pic_color.png){: .only-light}
![Only dark](assets/img/prof_pic.jpg){: .only-dark}
```

and with html:

```html
<img
  class="only-light"
  src="assets/img/prof_pic_color.png"
>
<img
  class="only-dark"
  src="assets/img/prof_pic.jpg"
>
```

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-12-12 12:45:04 -03:00
..
cv format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
repository Renamed repo-img- to only- to allow setting images for only one theme (#2886) 2024-12-12 12:45:04 -03:00
resume Fix: date pill position on CV (#2455) 2024-05-31 13:27:10 -03:00
scripts Moved socials config to _data/socials.yml (#2885) 2024-12-12 12:44:43 -03:00
audio.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
bib_search.liquid fix: search_enabled -> bib_search (#2560) 2024-07-12 17:00:48 -03:00
citation.liquid Added post citation (#2377) 2024-04-29 14:28:06 -03:00
disqus.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
figure.liquid Removed hidden char from figure.liquid (#2804) 2024-10-23 12:17:07 -03:00
footer.liquid Added support for a newsletter (#2517) 2024-06-19 14:49:19 -03:00
giscus.liquid Added "follow system" option to theme toggle (#2261) 2024-03-13 22:42:46 -03:00
head.liquid Moved socials config to _data/socials.yml (#2885) 2024-12-12 12:44:43 -03:00
header.liquid Fix prettier complaints 2024-12-02 15:45:38 -03:00
latest_posts.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
metadata.liquid Standardized spaces for liquid tags (#2802) 2024-10-23 12:04:00 -03:00
news.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
pagination.liquid [FIX] Blog Page Navigation (#2841) (#2846) 2024-11-19 19:03:51 -03:00
projects_horizontal.liquid Feat reworked project layout (closing #2246) (#2357) 2024-04-22 21:39:22 -03:00
projects.liquid Feat reworked project layout (closing #2246) (#2357) 2024-04-22 21:39:22 -03:00
related_posts.liquid Added support for a newsletter (#2517) 2024-06-19 14:49:19 -03:00
selected_papers.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
social.liquid Moved socials config to _data/socials.yml (#2885) 2024-12-12 12:44:43 -03:00
video.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00