Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8488230

Browse files
authored
Fix /blog link in dashboard (#1295)
1 parentcf95830 commit8488230

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

‎pgml-dashboard/src/components/navigation/navbar/web_app/template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<divclass="vr my-2 opacity-100 d-lg-block d-none"style="width: 2px"></div>
5757

5858
<liclass="nav-item d-flex align-items-center">
59-
<aclass="nav-link p-lg-0"href="/blog/">Blog</a>
59+
<aclass="nav-link p-lg-0"href="/blog">Blog</a>
6060
</li>
6161

6262
<% if !account_management_nav.links.is_empty() { %>
@@ -84,7 +84,7 @@
8484
</li>
8585

8686
<liclass="menu-item rounded-0 d-flex align-items-center">
87-
<ahref="/blog/">Blog</a>
87+
<ahref="/blog">Blog</a>
8888
</li>
8989

9090
<% if !standalone_dashboard { %>

‎pgml-dashboard/src/components/sections/footers/marketing_footer/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ impl MarketingFooter {
2222
],
2323
resources:vec![
2424
StaticNavLink::new("Documentation".into(),"/docs/".into()),
25-
StaticNavLink::new("Blog".into(),"/blog/".into()),
25+
StaticNavLink::new("Blog".into(),"/blog".into()),
2626
],
2727
company:vec![
2828
StaticNavLink::new("Careers".into(),"/careers/".into()),

‎pgml-dashboard/src/utils/markdown.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ pub fn get_author<'a>(root: &'a AstNode<'a>) -> (Option<String>, Option<chrono::
435435
}
436436
None =>Ok(true),
437437
},
438-
// author and name are assumed to be the next two lines of text after the author image.
438+
// author and name are assumed to be the next two lines of text after the author image.
439439
NodeValue::Text(text) =>{
440440
if image.is_some() && name.is_none() && date.is_none(){
441441
name =Some(text.clone());
@@ -464,14 +464,13 @@ pub fn get_author<'a>(root: &'a AstNode<'a>) -> (Option<String>, Option<chrono::
464464
_ =>None,
465465
};
466466

467-
// if date is not the correct form assume the date and author did not get parsed correctly.
467+
// if date is not the correct form assume the date and author did not get parsed correctly.
468468
if date.is_none(){
469469
(None,None, image)
470470
}else{
471471
(name, date, image)
472472
}
473-
474-
},
473+
}
475474
_ =>(None,None,None),
476475
}
477476
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp