質問編集履歴
3
hugo のバージョンを追記しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
### 環境
|
6
6
|
wsl
|
7
7
|
hugo:linux_extended_64bit
|
8
|
+
hugo version: Hugo Static Site Generator v0.69.2-EC9DCF30/extended linux/amd64 BuildDate: 2020-04-24T07:57:53Z
|
8
9
|
### 現在の状況
|
9
10
|

|
10
11
|
こんな感じでアイコン画像と、スキル欄が空欄である。
|
2
質問を短く編集しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -21,73 +21,15 @@
|
|
21
21
|
###試したこと
|
22
22
|
画像の拡張子の変更や画像サイズを正方形に変更したがダメでした。
|
23
23
|
これをどうにか解消してほしいです。
|
24
|
-
|
24
|
+
他にも、、
|
25
|
-
・skill.mdの編集について
|
26
|
-
content/home/skill.mdの編集の仕方がわからない
|
27
|
-
|
28
|
-
・元のskill.md
|
29
|
-
```skill.md
|
30
|
-
+++
|
31
|
-
# A Skills section created with the Featurette widget.
|
32
|
-
widget = "featurette" # See https://sourcethemes.com/academic/docs/page-builder/
|
33
|
-
headless = true # This file represents a page section.
|
34
|
-
active = true # Activate this widget? true/false
|
35
|
-
weight = 30 # Order that this section will appear.
|
36
|
-
|
37
|
-
title = "Skills"
|
38
|
-
subtitle = ""
|
39
|
-
|
40
|
-
# Showcase personal skills or business features.
|
41
|
-
#
|
42
|
-
# Add/remove as many `[[feature]]` blocks below as you like.
|
43
|
-
#
|
44
|
-
# For available icons, see: https://sourcethemes.com/academic/docs/widgets/#i
|
45
|
-
|
46
|
-
[[feature]]
|
47
|
-
icon = "r-project"
|
48
|
-
icon_pack = "fab"
|
49
|
-
name = "R"
|
50
|
-
description = "90%"
|
51
|
-
|
52
|
-
[[feature]]
|
53
|
-
icon = "chart-line"
|
54
|
-
icon_pack = "fas"
|
55
|
-
name = "Statistics"
|
56
|
-
description = "100%"
|
57
|
-
|
58
|
-
[[feature]]
|
59
|
-
icon = "camera-retro"
|
60
|
-
icon_pack = "fas"
|
61
|
-
name = "Photography"
|
62
|
-
description = "10%"
|
63
|
-
|
64
|
-
+++
|
65
25
|
```
|
66
|
-
|
67
|
-
・変更したいイメージ
|
68
|
-
|
26
|
+
content/author/admin
|
69
|
-
|
27
|
+
```の中にavatar.jpgを配置したり
|
70
28
|
```
|
71
|
-
・言語
|
72
|
-
|
29
|
+
static/img/
|
73
|
-
・ツール
|
74
|
-
・windows
|
75
30
|
```
|
76
|
-
の
|
77
|
-
|
78
|
-
単純にこのように書いてみたりしましたが、エラーを吐きました。
|
79
|
-
### 変更イメージのように書いた時のエラー
|
80
|
-
```
|
81
|
-
Error: Error building site: "/mnt/c/Users/ユーザーネーム/src/Hugo/My_Website/content/home/skills.md:18:1": unmarshal failed: Near line 17 (last key parsed 'feature.-'): expected key separator '=', but got 'n' instead
|
82
|
-
```
|
83
|
-
# その後試したこと
|
84
|
-
[公式](https://sourcethemes.com/academic/zh/docs/page-builder/)
|
85
|
-
ここのfeatureのようにしようとしましたが、エラーを吐き出していて??ってなってしまいました
|
86
|
-
エラー
|
87
|
-
```
|
88
|
-
Built in 405 ms
|
89
|
-
Error: Error building site: failed to render pages: render of "home" failed: execute of template failed: template: index.html:18:3: executing "main" at <partial "widget_page.html" .>: error calling partial: execute of template failed: template: partials/widget_page.html:88:9: executing "partials/widget_page.html" at <partial $widget_path $widget_args>: error calling partial: "/mnt/c/Users/ユーザー名/src/Hugo/My_Website/themes/academic/layouts/partials/widgets/experience.html:42:25": execute otemplate failed: template: partials/widgets/experience.html:42:25: executing "partials/widgets/experience.html" at <.date_end>: can't evaluate field Format in type *errors.errorStr
|
90
|
-
```
|
31
|
+
のなかにavatar.jpgを配置したりしましたがだめそうです。
|
32
|
+
この画像以外を配置できないでしょうか??
|
91
33
|
|
92
34
|
###よろしくお願いします。
|
93
35
|
以上のような質問について、お答えしていただけると幸いです。
|
1
追記しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -80,6 +80,14 @@
|
|
80
80
|
```
|
81
81
|
Error: Error building site: "/mnt/c/Users/ユーザーネーム/src/Hugo/My_Website/content/home/skills.md:18:1": unmarshal failed: Near line 17 (last key parsed 'feature.-'): expected key separator '=', but got 'n' instead
|
82
82
|
```
|
83
|
+
# その後試したこと
|
84
|
+
[公式](https://sourcethemes.com/academic/zh/docs/page-builder/)
|
85
|
+
ここのfeatureのようにしようとしましたが、エラーを吐き出していて??ってなってしまいました
|
86
|
+
エラー
|
87
|
+
```
|
88
|
+
Built in 405 ms
|
89
|
+
Error: Error building site: failed to render pages: render of "home" failed: execute of template failed: template: index.html:18:3: executing "main" at <partial "widget_page.html" .>: error calling partial: execute of template failed: template: partials/widget_page.html:88:9: executing "partials/widget_page.html" at <partial $widget_path $widget_args>: error calling partial: "/mnt/c/Users/ユーザー名/src/Hugo/My_Website/themes/academic/layouts/partials/widgets/experience.html:42:25": execute otemplate failed: template: partials/widgets/experience.html:42:25: executing "partials/widgets/experience.html" at <.date_end>: can't evaluate field Format in type *errors.errorStr
|
90
|
+
```
|
83
91
|
|
84
92
|
###よろしくお願いします。
|
85
93
|
以上のような質問について、お答えしていただけると幸いです。
|