Move mixins to the right place

This commit is contained in:
Robert Schäfer 2019-04-17 00:04:06 +02:00
parent 4f2e70e871
commit c4577aa3e8
5 changed files with 4 additions and 4 deletions

View File

@ -48,7 +48,7 @@ describe('PostCard', () => {
describe('given a post', () => {
beforeEach(() => {
propsData.post= {
propsData.post = {
title: "It's a title"
}
})

View File

@ -10,7 +10,7 @@
</template>
<script>
import seo from '~/components/mixins/seo'
import seo from '~/mixins/seo'
export default {
mixins: [seo]

View File

@ -120,7 +120,7 @@ import SearchInput from '~/components/SearchInput.vue'
import Modal from '~/components/Modal'
import NotificationMenu from '~/components/notifications/NotificationMenu'
import Dropdown from '~/components/Dropdown'
import seo from '~/components/mixins/seo'
import seo from '~/mixins/seo'
export default {
components: {

View File

@ -1,6 +1,6 @@
export default {
methods: {
removeLinks(content){
removeLinks(content) {
if (!content) return ''
// remove all links from excerpt to prevent issues with the surrounding link
let excerpt = content.replace(/<a.*>(.+)<\/a>/gim, '$1')