Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beta.ordbok.uib.no
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Språksamlingane
beta.ordbok.uib.no
Commits
b19aad0c
Commit
b19aad0c
authored
3 years ago
by
Henrik Askjer
Browse files
Options
Downloads
Patches
Plain Diff
tweak metadata
parent
537be4cb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
public/index.html
+1
-1
1 addition, 1 deletion
public/index.html
src/App.vue
+0
-11
0 additions, 11 deletions
src/App.vue
src/components/Article.vue
+4
-4
4 additions, 4 deletions
src/components/Article.vue
src/components/DictionaryView.vue
+11
-0
11 additions, 0 deletions
src/components/DictionaryView.vue
with
16 additions
and
16 deletions
public/index.html
+
1
−
1
View file @
b19aad0c
...
...
@@ -8,7 +8,7 @@
<link
rel=
"apple-touch-icon"
href=
"<%= BASE_URL %>touch-icon.png"
>
<meta
name=
"robots"
content=
"noindex"
/>
<meta
name=
"google-site-verification"
content=
"5rx7dRI0Rbz6cXL4zgASLVDBDbT1noovdhJH8V69xhw"
/>
<title>
O
rdbøkene
</title>
<title>
o
rdbøkene
.no
</title>
</head>
<body>
<noscript>
...
...
This diff is collapsed.
Click to expand it.
src/App.vue
+
0
−
11
View file @
b19aad0c
...
...
@@ -62,17 +62,6 @@
import
TopBar
from
'
./components/TopBar.vue
'
export
default
{
metaInfo
()
{
return
{
title
:
'
Ordbøkene -
'
+
process
.
env
.
VUE_APP_VERSION_LABEL
,
meta
:
[
{
name
:
'
description
'
,
content
:
'
DESCRIPTION
'
},
{
property
:
'
og:title
'
,
content
:
"
TITLE
"
},
{
property
:
'
og:site_name
'
,
content
:
'
SITE NAME
'
},
{
property
:
'
og:type
'
,
content
:
'
website
'
},
]
}
},
computed
:
{
no_locale
:
function
()
{
return
!
this
.
$store
.
state
.
locale
...
...
This diff is collapsed.
Click to expand it.
src/components/Article.vue
+
4
−
4
View file @
b19aad0c
...
...
@@ -84,13 +84,13 @@ export default {
is_collapsed
:
true
}
},
metaInfo
()
{
metaInfo
()
{
if
(
this
.
articleLookup
)
{
return
{
title
:
this
.
article
.
lemmas
[
0
].
lemma
+
'
-
'
+
this
.
$t
(
'
dicts.
'
+
this
.
dictionary
)
,
description
:
this
.
meta_description
return
{
title
:
this
.
article
.
lemmas
[
0
].
lemma
+
'
-
'
+
{
"
bm,nn
"
:
"
ordbøkene.no
"
,
"
bm
"
:
"
Bokmålsordboka
"
,
"
nn
"
:
"
Nynorskordboka
"
}[
this
.
dictionary
]
,
meta
:
[{
name
:
'
description
'
,
content
:
this
.
meta_description
}]
}
}
},
computed
:
{
content_locale
:
function
()
{
...
...
This diff is collapsed.
Click to expand it.
src/components/DictionaryView.vue
+
11
−
0
View file @
b19aad0c
...
...
@@ -417,6 +417,17 @@ export default {
if
(
this
.
$route
.
query
.
q
)
{
return
{
title
:
this
.
$route
.
query
.
q
+
"
- Ordbøkene
"
}
}
else
{
let
desc
=
"
viser skrivemåte og bøying i tråd med norsk rettskriving. Språkrådet og Universitetet i Bergen står bak ordbøkene.
"
switch
(
this
.
lang
)
{
case
'
bm,nn
'
:
return
{
title
:
'
ordbøkene.no
'
,
meta
:
[{
name
:
"
description
"
,
content
:
"
Bokmålsordboka og Nynorskordboka
"
+
desc
}
]
}
case
'
bm
'
:
return
{
title
:
"
Bokmålsordboka
"
,
meta
:
[{
name
:
"
description
"
,
content
:
"
Bokmålsordboka
"
+
desc
}
]
}
case
'
nn
'
:
return
{
title
:
"
Nynorskordboka
"
,
meta
:
[{
name
:
"
descriptio
"
,
content
:
"
Nynorskordboka
"
+
desc
}
]
}
}
}
}
,
components
:
{
Article
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment