diff --git a/_layouts/package.html b/_layouts/package.html index af39ea6..0cb145c 100644 --- a/_layouts/package.html +++ b/_layouts/package.html @@ -5,9 +5,13 @@ layout: default {% assign base_url = repo | append: '/' | append: page.distribution | relative_url %}

Package: {{ page.name }} ({{ page.versions.first.version }}) [{{ repo }}/{{ page.distribution }}:{{ page.component }}]

+
+ +
+ {% assign desc = page.description | newline_to_br | split: '
' %} -

{{ desc | first | capitalize }}

+

{{ desc | first | capitalize }}

{% if desc.size > 1 %}

@@ -46,13 +50,26 @@ layout: default {% endfor %} -

External resources

+
- +
+ +

Additional information

+ + {% if page.homepage.size > 0 %} +

External resources

+ + {% endif %} + + {% if page.maintainer.size > 0 %} +

Maintainer

+ + {% endif %} + +
+ +
diff --git a/_sass/layout/_package.scss b/_sass/layout/_package.scss new file mode 100644 index 0000000..b69629e --- /dev/null +++ b/_sass/layout/_package.scss @@ -0,0 +1,17 @@ + +.package { + display: flex; + justify-content: space-between; + align-items: flex-start; + gap: 2em; + + //&-main { + //} + + &-sidebar { + min-width: 400px; + padding: 0 2em; + background: $bg-gray-light; + border: solid 1px $border-gray-light; + } +} diff --git a/_sass/main.scss b/_sass/main.scss index ea4f6ef..4b5b44d 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -6,6 +6,7 @@ @import "typography"; @import "layout/header"; +@import "layout/package"; @import "layout/footer"; @import "component/button";