lxndrblz / anatole

Anatole is a minimalistic two-column theme for Hugo.
https://themes.gohugo.io/themes/anatole/
MIT License
650 stars 356 forks source link

feat: add icons and possibility for multiple links to portfolio #386

Open Sohn123 opened 1 year ago

Sohn123 commented 1 year ago

Description

I want to display multiple links for one portfolio item and use icons there. I changed the data/portfolio.yml to contain a list with multiple link items. Every item consists of url, text and icon. text and icon are optional. This is a breaking change for existing configurations. I adapted the exampleSite accordingly.

Issue Number:


Checklist

Yes, I included all necessary artefacts, including:


Testing Checklist

Yes, I ensured that all of the following scenarios were tested:


netlify[bot] commented 1 year ago

Deploy Preview for anatole-demo failed.

Name Link
Latest commit 5bd3ff3434f5ec94a86f71a0a12ccdc1c9daa886
Latest deploy log https://app.netlify.com/sites/anatole-demo/deploys/63d5708bd09e7700087e90b1
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

lxndrblz commented 1 year ago

@Sohn123 Thanks for the PR. I have added an fallback for the previous way of setting up links in the Portfolio. Please let me know, what you think.