You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,10 +67,10 @@ hugo server &
67
67
Historic images from when the website was on WordPress live in a large separate
68
68
repo https://github.com/OBF/wp-content/ which is included as a git submodule.
69
69
If you want to view images in the web pages on `localhost:1313`, you will need
70
-
to also initialise this repository, which is currently setup using the
70
+
to also initialise this repository, which is currently setup using the
71
71
`git submodule` workflow.
72
72
73
-
To load it you can run:
73
+
To load it you can run:
74
74
75
75
```
76
76
cd OBF.github.io/
@@ -86,7 +86,7 @@ This may change.
86
86
87
87
For new images, you can place these into the `static/img/yyyy/` folder of this repository, where `yyyy` means the four digit year as a subfolder.
88
88
89
-
When compiling the website during the build, Hugo will move everything in `static/` into the website root, i.e. to `open-bio.org/`. This means that when linking images you do not have to include the `static/` as part of the media/image link.
89
+
When compiling the website during the build, Hugo will move everything in `static/` into the website root, i.e. to `open-bio.org/`. This means that when linking images you do not have to include the `static/` as part of the media/image link.
90
90
91
91
As an example: A file that resides in `static/img/2025/test-image.jpg` should be linked in the markdown files like this: ``
92
92
@@ -127,7 +127,7 @@ image, use this html:
127
127
```
128
128
<div class="well">
129
129
```
130
-
130
+
131
131
- To make two columns (e.g. to run text next to an image), use
132
132
"columns" (look for an example in one of our .mds)
133
133
- You can make a button like this:
@@ -140,7 +140,7 @@ image, use this html:
140
140
- To get posts to show up on the BOSC news page, include the category "bosc" (the tag doesn't seem to matter).
141
141
- Note that new posts may not show up on the main OBF home page until you kill and restart hugo.
142
142
- Photos/Images in posts
143
-
- Images in the arcticle preview on the frontpage/blog page will only show up if they are part of the first paragraph
143
+
- Images in the arcticle preview on the frontpage/blog page will only show up if they are part of the first paragraph
144
144
145
145
## Steps taken to port content from old WP site
146
146
@@ -150,6 +150,3 @@ image, use this html:
150
150
not deployed on open-bio.org). (For now, the first line of
151
151
hugo.yaml should say "baseURL: https://OBF.github.io" but that will
0 commit comments