File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,14 @@ jobs:
54
54
Export_baked_state=false,
55
55
# more parameters can go here
56
56
)'
57
- - name : Inject top navigation bar
57
+ - name : Inject top navigation bar and metadata
58
58
run : |
59
- INSERT_CODE='<link href="https://juliaquantumcontrol.github.io/QuantumControl.jl/dev/assets/topbar/topbar.css" rel="stylesheet" type="text/css"/><script src="https://juliaquantumcontrol.github.io/QuantumControl.jl/dev/assets/topbar/topbar.js"></script>'
59
+ INSERT_CODE_HEAD='<link href="https://juliaquantumcontrol.github.io/QuantumControl.jl/dev/assets/topbar/topbar.css" rel="stylesheet" type="text/css"/><script src="https://juliaquantumcontrol.github.io/QuantumControl.jl/dev/assets/topbar/topbar.js"></script>'
60
+ INSERT_META_DESCRIPTION='<meta name="description" content="Tutorials for the JuliaQuantumControl Organization."/>'
60
61
for file in *.html; do
61
62
# Use sed to insert the code before </head>
62
- sed -i "/<\/head>/i $INSERT_CODE" "$file"
63
+ sed -i "/<\/head>/i $INSERT_CODE_HEAD" "$file"
64
+ sed -i "/<meta property='og:type' content='article'>/i $INSERT_META_DESCRIPTION" "$file"
63
65
done
64
66
- name : Deploy to gh-pages
65
67
uses : JamesIves/github-pages-deploy-action@releases/v4
You can’t perform that action at this time.
0 commit comments