|
@@ -340,7 +340,7 @@ func (s *Short) Article(contentType, stype, id string) error {
|
|
|
|
|
|
if userId == "" {
|
|
if userId == "" {
|
|
var currentLocation []Navigation
|
|
var currentLocation []Navigation
|
|
- if typeVal := util.ObjToString(obj["subtype"]); typeVal != "" {
|
|
|
|
|
|
+ if typeVal := util.ObjToString(obj["toptype"]); typeVal != "" {
|
|
if val := getSeoLocation(typeVal); val != nil {
|
|
if val := getSeoLocation(typeVal); val != nil {
|
|
currentLocation = append(currentLocation, *val)
|
|
currentLocation = append(currentLocation, *val)
|
|
}
|
|
}
|