astro-accelerator 0.0.45 → 0.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.45",
2
+ "version": "0.0.46",
3
3
  "author": "Steve Fenton",
4
4
  "name": "astro-accelerator",
5
5
  "description": "A super-lightweight, accessible, SEO-friendly starter project for Astro",
@@ -597,7 +597,7 @@ form.site-search {
597
597
 
598
598
  form.site-search div {
599
599
  display: grid;
600
- grid-template-columns: repeat(3, auto);
600
+ grid-template-columns: fit-content(400px) auto 30px;
601
601
  gap: 1em;
602
602
  }
603
603
 
@@ -733,13 +733,13 @@ form.site-search button {
733
733
 
734
734
  .post-meta {
735
735
  display: flex;
736
- align-items: center;
736
+ align-items: top;
737
737
  }
738
738
 
739
739
  .post-meta .author-image {
740
- width: 50px;
740
+ width: 80px;
741
+ height: 80px;
741
742
  margin-right: 1rem;
742
- aspect-ratio: 1/1;
743
743
  object-fit: cover;
744
744
  }
745
745
 
@@ -49,6 +49,8 @@ const authorImage = authorList?.image?.src
49
49
  <br /><time datetime={ frontmatter.modDate.toString() } itemprop="dateModified">
50
50
  { _(Translations.post.last_modified) } { accelerator.dateFormatter.formatDate(frontmatter.modDate, lang) }
51
51
  </time>
52
+ }{authorList.mainAuthor &&
53
+ <p>{ authorList.mainAuthor.frontmatter.description }</p>
52
54
  }
53
55
  </span>
54
56
  </div>
@@ -51,8 +51,8 @@ const site_features = SITE.featureFlags;
51
51
  </header>
52
52
  <div class="page-content anim-show-parent" itemprop="articleBody">
53
53
  <TableOfContents frontmatter={ frontmatter } headings={ headings } lang={ lang } />
54
- <Authors frontmatter={ frontmatter } lang={ lang } />
55
54
  <slot />
55
+ <Authors frontmatter={ frontmatter } lang={ lang } />
56
56
  <Taxonomy frontmatter={ frontmatter } lang={ lang } />
57
57
  <Related frontmatter={ frontmatter } headings={ headings } lang={ lang } />
58
58
  </div>