pages/_pages
Gürkan Soykan f0eb587573
Fix conditional rendering of tag and category section (#2678)
### Overview
This PR fixes an issue where unnecessary horizontal lines were displayed
when there were no tags or categories present. The tag and category
container is now conditionally rendered, ensuring it only appears when
there are tags or categories to display.

no tags meaning, in _config.yml
```
display_tags: []
display_categories: []
```

### Before and After
The difference is illustrated in the images below:
- **First Image (Fixed)**: Shows the correct behavior with no extra
lines when tags or categories are absent.
- **Second Image (Current)**: Demonstrates the issue with unwanted
horizontal lines appearing when no tags or categories are present.


![image](https://github.com/user-attachments/assets/08becad5-9a34-4b6c-8a69-25206d9097da)

![image](https://github.com/user-attachments/assets/e36390cc-3104-4aa2-a047-a7fa8289e664)

### Impact
This change improves the visual consistency and cleanliness of the theme
by preventing unnecessary elements from being rendered, particularly in
cases where there are no tags or categories defined.
2024-09-10 11:57:54 -03:00
..
404.md Move news and 404 to pages (#2060) 2024-01-10 01:59:59 -05:00
about_einstein.md format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
about.md Update about.md (#2679) 2024-09-05 18:21:25 -03:00
blog.md Fix conditional rendering of tag and category section (#2678) 2024-09-10 11:57:54 -03:00
cv.md Now blog can be reorganized in header (#1996) 2023-12-25 14:41:27 -03:00
dropdown.md format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
news.md Move news and 404 to pages (#2060) 2024-01-10 01:59:59 -05:00
profiles.md format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
projects.md Feat reworked project layout (closing #2246) (#2357) 2024-04-22 21:39:22 -03:00
publications.md fix: search_enabled -> bib_search (#2560) 2024-07-12 17:00:48 -03:00
repositories.md Fix no github_users titling in repositories.md (#2647) 2024-08-20 11:50:00 -03:00
teaching.md Now blog can be reorganized in header (#1996) 2023-12-25 14:41:27 -03:00