ソースを参照

fixed bad links href #2055

bach 1 年間 前
コミット
bfcad2d728

+ 2 - 2
src/components/Content/ResultItem.vue

@@ -2,7 +2,7 @@
   <article class="result item">
     <h1>
       <a
-        :href="'/edition/'+result.textId+'/'+result.uuid"
+        :href="'/texts/'+result.textId+'/'+result.uuid"
         @click.prevent="onclick"
         @keyup.enter="onclick"
         v-html="result.title"
@@ -10,7 +10,7 @@
     </h1>
     <h2>
       <a
-        :href="'/edition/'+result.textId+'/'+result.uuid"
+        :href="'/texts/'+result.textId+'/'+result.uuid"
         @click.prevent="onclick"
         @keyup.enter="onclick"
         v-html="editionTitle"

+ 1 - 1
src/components/Content/TocItem.vue

@@ -13,7 +13,7 @@
       :class="{active: isActive, loaded: isLoaded, notitle: noTitle}"
     >
       <a
-        :href="'/edition/'+editionid+'/'+item.uuid"
+        :href="'/texts/'+editionid+'/'+item.uuid"
         :uuid="item.uuid"
         @click.prevent="onclick"
         @keyup.enter="onclick"