Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
picardch
picardch.pages.ensimag.fr
Commits
47c949aa
Commit
47c949aa
authored
Apr 16, 2020
by
George Cushen
Browse files
theme: upgrade to latest v4.9-dev - get singular taxonomy URLs
parent
0a539c1b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
4 deletions
+15
-4
config/_default/config.toml
config/_default/config.toml
+7
-0
content/authors/admin/_index.md
content/authors/admin/_index.md
+1
-1
scripts/init_kickstart.sh
scripts/init_kickstart.sh
+3
-0
static/admin/config.yml
static/admin/config.yml
+1
-1
static/admin/index.html
static/admin/index.html
+2
-1
themes/academic
themes/academic
+1
-1
No files found.
config/_default/config.toml
View file @
47c949aa
...
...
@@ -37,6 +37,13 @@ enableEmoji = true
footnotereturnlinkcontents
=
"<sup>^</sup>"
ignoreFiles
=
[
"
\\
.ipynb$"
,
".ipynb_checkpoints$"
,
"
\\
.Rmd$"
,
"
\\
.Rmarkdown$"
,
"_files$"
,
"_cache$"
]
# Workaround Hugo publishing taxonomy URLs as plurals - consistently use singular across Academic.
[permalinks]
authors
=
"/author/:slug/"
tags
=
"/tag/:slug/"
categories
=
"/category/:slug/"
publication_types
=
"/publication-type/:slug/"
[outputs]
home
=
[
"HTML"
,
"RSS"
,
"JSON"
,
"WebAppManifest"
]
section
=
[
"HTML"
,
"RSS"
]
...
...
content/authors/admin/_index.md
View file @
47c949aa
---
# Display name
nam
e
:
Nelson Bighetti
titl
e
:
Nelson Bighetti
# Username (this should match the folder name)
authors
:
...
...
scripts/init_kickstart.sh
View file @
47c949aa
...
...
@@ -12,6 +12,9 @@ cd scripts/
# Install demo config
rsync
-av
../themes/academic/exampleSite/config/ ../config/
# Install Netlify CMS
rsync
-av
../themes/academic/exampleSite/static/admin/ ../static/admin/
# Install demo user
rsync
-av
../themes/academic/exampleSite/content/authors/ ../content/authors/
...
...
static/admin/config.yml
View file @
47c949aa
...
...
@@ -60,7 +60,7 @@ collections:
label
:
Talks
label_singular
:
Talk
folder
:
'
content/talk'
path
:
'
{{
year}}/{{
slug}}/index'
# Store talks in year-based subfolders, e.g. `talk/2020/my-talk`.
path
:
'
{{slug}}/index'
create
:
true
# Allow users to create new documents in this collection
fields
:
# The fields each document in this collection have
-
{
label
:
"
Title"
,
name
:
"
title"
,
widget
:
"
string"
}
...
...
static/admin/index.html
View file @
47c949aa
...
...
@@ -4,10 +4,11 @@
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
Content Manager | Academic
</title>
<!-- Include Netlify Identity for authentication. -->
<script
src=
"https://identity.netlify.com/v1/netlify-identity-widget.js"
></script>
</head>
<body>
<!-- Include the
script that builds the page and powers Netlify CMS
-->
<!-- Include the
latest Netlify CMS v2.x.x script that builds the admin panel.
-->
<script
src=
"https://cdn.jsdelivr.net/npm/netlify-cms@2/dist/netlify-cms.min.js"
></script>
</body>
</html>
academic
@
dc0d310a
Compare
42d0e5f8
...
dc0d310a
Subproject commit
42d0e5f8cd130e52e2dfa496c199229a9f12d8cb
Subproject commit
dc0d310af1fadcc021c7c825f9ed7cd6288e3730
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment