mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 02:16:09 +00:00
1 parent
734dd1c4d0
commit
0fb31e4a82
1 file changed
+4
@@ -38,6 +38,10 @@ type ShortcodeWithPage struct {
|
|||||||
IsNamedParams bool
|
IsNamedParams bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (scp *ShortcodeWithPage) Site() *SiteInfo {
|
||||||
|
return scp.Page.Site
|
||||||
|
}
|
||||||
|
|
||||||
func (scp *ShortcodeWithPage) Ref(ref string) (string, error) {
|
func (scp *ShortcodeWithPage) Ref(ref string) (string, error) {
|
||||||
return scp.Page.Ref(ref)
|
return scp.Page.Ref(ref)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user