Skip to content

Commit c1bf817

Browse files
committed
Merge branch 'main' of github.com:quarto-dev/quarto-cli into main
2 parents b7878d2 + e32a434 commit c1bf817

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

src/format/html/format-html-title.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export function documentTitleIncludeInHeader(
8888

8989
if (variables.length > 0) {
9090
const styles = `<style>
91-
.quarto-title-banner {
91+
.quarto-title-block .quarto-title-banner {
9292
${variables.join("\n")}
9393
}
9494
</style>`;

src/project/types/website/about/website-about.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ import { quartoConfig } from "../../../../core/quarto.ts";
2020
import { projectTypeResourcePath } from "../../../../core/resources.ts";
2121
import { sassLayerFile } from "../../../../core/sass.ts";
2222
import { TempContext } from "../../../../core/temp.ts";
23-
import { kBootstrapDependencyName } from "../../../../format/html/format-html-shared.ts";
23+
import {
24+
kAnchorSections,
25+
kBootstrapDependencyName,
26+
} from "../../../../format/html/format-html-shared.ts";
2427
import { NavItem, ProjectContext } from "../../../types.ts";
2528
import { kImage } from "../website-constants.ts";
2629
import { navigationItem } from "../website-navigation.ts";
@@ -91,6 +94,7 @@ export async function aboutHtmlDependencies(
9194
if (aboutPage) {
9295
// About pages do not allow TOCs
9396
format.pandoc[kToc] = false;
97+
format.metadata[kAnchorSections] = false;
9498
}
9599

96100
// Compute any scss that should be included

src/resources/projects/website/about/about.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ div.quarto-about-jolla {
7171
}
7272
@include image-shapes();
7373

74+
.quarto-title h1.title {
75+
text-align: center;
76+
}
77+
78+
.quarto-title .description {
79+
text-align: center;
80+
}
81+
7482
h2 {
7583
border-bottom: none;
7684
}

0 commit comments

Comments
 (0)