diff --git a/_config.yml b/_config.yml index a513cf05b53..4157a40ed6d 100755 --- a/_config.yml +++ b/_config.yml @@ -14,7 +14,7 @@ # You can create any custom variable you would like, and they will be accessible # in the templates via {{ site.myvariable }}. title: Quarkus -email: +email: description: >- # this means to ignore newlines until "baseurl:" Quarkus: Supersonic Subatomic Java baseurl: "" # the subpath of your site, e.g. /blog @@ -123,8 +123,8 @@ defaults: # Site configuration for the Jekyll 3 Pagination Gem # The values here represent the defaults if nothing is set pagination: - - # Site-wide kill switch, disabled here it doesn't run at all + + # Site-wide kill switch, disabled here it doesn't run at all enabled: true # Set to 'true' to enable pagination debugging. This can be enabled in the site config or only for individual pagination pages @@ -138,7 +138,7 @@ pagination: # The permalink structure for the paginated pages (this can be any level deep) permalink: '/page/:num/' # Pages are index.html inside this folder (default) - #permalink: '/page/:num.html' # Pages are simple html files + #permalink: '/page/:num.html' # Pages are simple html files #permalink: '/page/:num' # Pages are html files, linked jekyll extensionless permalink style. # Optional the title format for the paginated pages (supports :title for original page title, :num for pagination page number, :max for total number of pages) @@ -146,7 +146,7 @@ pagination: # Limit how many pagenated pages to create (default: 0, means all) limit: 0 - + # Optional, defines the field that the posts should be sorted on (omit to default to 'date') sort_field: 'date' @@ -159,13 +159,13 @@ pagination: # Optional, the default tag to use, omit to disable tag: '' - # Optional, the default locale to use, omit to disable (depends on a field 'locale' to be specified in the posts, + # Optional, the default locale to use, omit to disable (depends on a field 'locale' to be specified in the posts, # in reality this can be any value, suggested are the Microsoft locale-codes (e.g. en_US, en_GB) or simply the ISO-639 language code ) - locale: '' + locale: '' - # Optional,omit or set both before and after to zero to disable. - # Controls how the pagination trail for the paginated pages look like. - trail: + # Optional,omit or set both before and after to zero to disable. + # Controls how the pagination trail for the paginated pages look like. + trail: before: 2 after: 2 @@ -194,7 +194,7 @@ autopages: data: '_data/authors.yaml' # Data file with the author details # Uncomment the line below to force exclude certain authors from autopage generation. # exclude: [ "author1", "author2" ] - layouts: + layouts: - 'author.html' # We'll define this layout later title: 'Posts by :author' permalink: '/author/:author/' @@ -204,13 +204,13 @@ autopages: # Scholar / Bibliography -publication: +publication: group_by: type sort_by: date #order: descending #group_order: type #type_order: [article, video, podcast] - type_names: + type_names: article: Article & Blogs podcast: Podcasts video: Videos @@ -221,12 +221,12 @@ publication: # https://github.com/jekyll/jekyll-archives/blob/master/docs/configuration.md jekyll-archives: - enabled: + enabled: - tags - layouts: + layouts: tag: tag-archive permalinks: tag: '/blog/tag/:name/' - + ############################################################ diff --git a/_includes/title-band.html b/_includes/title-band.html index 6a3cb569e7c..0789e879b4c 100644 --- a/_includes/title-band.html +++ b/_includes/title-band.html @@ -1,4 +1,7 @@
-

{{ page.title }}

+ {{ include.page_title }} + {% if include.page_title %}{% assign page_title = include.page_title %}{% endif %} + {% unless include.page_title %}{% assign page_title = page.title %}{% endunless %} +

{{ page_title }}

{{ page.subtitle }}

\ No newline at end of file diff --git a/_layouts/author.html b/_layouts/author.html index 3b08e4d175b..9262e93cc28 100644 --- a/_layouts/author.html +++ b/_layouts/author.html @@ -2,37 +2,41 @@ layout: base --- -{% include title-band.html %} - {% assign author_username = page.pagination.author %} {% assign author = page.pagination.author_data %} +{% assign page_title = 'Posts by ' | append: author.name %} +{% include title-band.html page_title=page_title %} -
+
- +
-

+

+ +

{{ author.bio }}

-

Posts:

+ {% if paginator.posts.size > 0 %} +

Posts

{% for post in paginator.posts %} {% assign author = site.data.authors[post.author] %}
@@ -41,18 +45,12 @@

Posts:

{{ post.title }}
-
{% if post.synopsis %}

{{ post.synopsis | strip_html }}

@@ -64,6 +62,17 @@

Posts:

{% endfor %} + {% if paginator.total_pages > 1 %} +
+ {% if paginator.next_page %} + Older Posts + {% endif %} + {% if paginator.previous_page %} + Newer Posts + {% endif %} +
+ {% endif %} + {% endif %}
diff --git a/_layouts/authors.html b/_layouts/authors.html index 345498345c5..f18c1691ad9 100644 --- a/_layouts/authors.html +++ b/_layouts/authors.html @@ -4,12 +4,14 @@ {% include title-band.html %} -

Authors

- {% assign authors = site.data.authors | sort %} - {% for data in authors %} - {% assign authorid = data | first %} - {% assign author = data | last %} +
+
+{% assign authors = site.data.authors | sort: name %} +{% for data in authors %} +{% assign authorid = data | first %} +{% assign author = data | last %} - {{authorid}} - {{author.name}}
- {% endfor %} - \ No newline at end of file +{{author.name}}
+{% endfor %} +
+
diff --git a/_sass/layouts/blog.scss b/_sass/layouts/blog.scss index e9d7f1a1d46..1d8f175fe15 100644 --- a/_sass/layouts/blog.scss +++ b/_sass/layouts/blog.scss @@ -55,7 +55,7 @@ body.post { } } .blog-page { - + .blog-list-item { margin-bottom: 2rem; p { @@ -109,6 +109,32 @@ body.post { } } +.authors { + margin-top: 40px; + margin-bottom: 40px; +} + +.author .blog-page { + .byline { + font-weight: 600; + font-size: 1.5rem; + line-height: 2.5rem; + } + + .headshot { + max-width: 4rem; + margin-right: 1rem; + } + + .byline-wrapper p { + margin: 0; + } + + h2.title.byline-wrapper { + margin-top: 0; + } +} + .blog-page, .post-page { p.byline { font-size: 1rem;