diff --git a/assets/sass/_theme/sections/projects.sass b/assets/sass/_theme/sections/projects.sass index 043ea0541..243d4a53e 100644 --- a/assets/sass/_theme/sections/projects.sass +++ b/assets/sass/_theme/sections/projects.sass @@ -7,7 +7,8 @@ flex: 1 p line-height: $small-line-height - .project-title + .project-title, + .project-subtitle @include article-title .project-subtitle color: var(--color-text-alt) @@ -42,8 +43,10 @@ justify-content: space-between .project-description max-width: columns(6) - .project-title + .project-title, + .project-subtitle @include h2 + .project-title @include icon(arrow-right-line, after, true) color: transparent @include hover-translate-icon(after) diff --git a/config.yaml b/config.yaml index 73efe5404..4336acff8 100644 --- a/config.yaml +++ b/config.yaml @@ -187,6 +187,7 @@ params: categories: true summary: true year: false + subtitle: true # share_links: # Optional # enabled: true # email: false diff --git a/layouts/partials/projects/project.html b/layouts/partials/projects/project.html index 6294045d5..e0d10c947 100644 --- a/layouts/partials/projects/project.html +++ b/layouts/partials/projects/project.html @@ -28,7 +28,7 @@ {{ $heading_tag.close }} {{ if and $options.subtitle .Params.subtitle }} -

{{ partial "PrepareHTML" .Params.subtitle }}

+

{{ partial "PrepareHTML" .Params.subtitle }}

{{ end }} {{ if and $options.subtitle .Params.subtitle }}