mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
* feat: refactor condition for checking `site.Params.bundled` - Add default condition for checking if `site.Params.bundled` is true or false * refactor: update info page content * chore: update site description * refactor: refactor variable assignments and return statement in menu template - Change the variable assignment from `.DirName` to `.Identifier` in the file `layouts/_default/single.json` - Change the variable assignments in the file `layouts/partials/function/currentMenuItem.html`: - From `$dirName := ""` to `$identifier := ""` - From `$id := -1` to `$title := ""` and `$weight := -1` - From `$dirName = .Identifier` to `$identifier = .Identifier`, `$title = .Title`, and `$weight = .Weight` - Change the return statement in the file `layouts/partials/function/currentMenuItem.html` from `(dict "DirName" $dirName "ID" $id)` to `(dict "Identifier" $identifier "Title" $title "Weight" $weight)` * feat: update nav links structure for current link styling - Remove javascript code related to setting current link style and title - Update nav links to use updated HTML structure for current link styling * feat: update page titles and meta tags in layout files - Update the `baseof.html` layout to include the current page title in the `<title>` tag - Add OpenGraph meta tags for the page title and description in `meta.html` layout
21 lines
564 B
HTML
21 lines
564 B
HTML
<!doctype html>
|
|
<html lang="{{- site.LanguageCode -}}">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
{{- partial "head/link.html" . -}}
|
|
{{- partial "head/meta.html" . -}}
|
|
{{- partial "head/seo.html" . -}}
|
|
{{- partial "head/favicon.html" . -}}
|
|
</head>
|
|
<body lang="{{- site.LanguageCode -}}">
|
|
<div id="main">
|
|
{{- block "main" . -}}
|
|
{{- end -}}
|
|
</div>
|
|
<div class="analytics">
|
|
{{- partial "plugin/analytics.html" . -}}
|
|
</div>
|
|
</body>
|
|
</html>
|