Skip to content

Commit b160af4

Browse files
Merge pull request #2 from creativecommons/launch-ready
ready static files for GH Pages, amend `README.md`, setup basic docker configuration, preset `CNAME`
2 parents 88ef814 + 58747bc commit b160af4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+93
-26
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Static Files for the OpenGLAM.org website
44

5+
## Migration from WordPress to static files
6+
7+
See [`migration/README.md`](migration/README.md)
8+
59
## Setup & Development
610

711
For information on learning and installing the prerequisite technologies for this project, please see [Foundational technologies — Creative Commons Open Source][found-tech].
@@ -50,5 +54,5 @@ All the content within this repository is licensed under [CC-BY
5054
4.0][cc-by] unless otherwise specified.
5155

5256

53-
[cc-by-png]: https://licensebuttons.net/l/by/4.0/88x31.png "CC0 1.0 Universal (CC0 1.0) Public Domain Dedication button"
54-
[cc-by]: https://creativecommons.org/licenses/by/4.0/ "Creative Commons — CC0 1.0 Universal"
57+
[cc-by-png]: https://licensebuttons.net/l/by/4.0/88x31.png#floatleft "CC BY 4.0 license button"
58+
[cc-by]: https://creativecommons.org/licenses/by/4.0/ "Creative Commons Attribution 4.0 International License"

docker-compose.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# https://docs.docker.com/compose/compose-file/compose-file-v2/
2+
3+
version: "2.4"
4+
5+
services:
6+
7+
web:
8+
# https://hub.docker.com/_/nginx
9+
image: nginx:latest
10+
ports:
11+
- "8080:80"
12+
restart: on-failure
13+
volumes:
14+
# Mount website directory
15+
- ./docs:/usr/share/nginx/html:ro

src/wp-content/themes/wp-theme-openglam-master/README.md renamed to docs/.nojekyll

File renamed without changes.

docs/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
openglam.org
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,4 @@
121121
</footer>
122122
<script type='text/javascript' src='/wp-content/themes/wp-theme-openglam-master/assets/js/script.js?ver=2020.04.1' id='vocabulary-js'></script>
123123
</body>
124-
</html>
124+
</html>

src/index.html renamed to docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,4 @@ <h1 class="title">A global network on sharing cultural heritage</h1>
137137
</footer>
138138
<script type='text/javascript' src='/wp-content/themes/wp-theme-openglam-master/assets/js/script.js?ver=2020.04.1' id='vocabulary-js'></script>
139139
</body>
140-
</html>
140+
</html>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,4 @@
136136
</footer>
137137
<script type='text/javascript' src='/wp-content/themes/wp-theme-openglam-master/assets/js/script.js?ver=2020.04.1' id='vocabulary-js'></script>
138138
</body>
139-
</html>
139+
</html>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,4 +212,4 @@ <h2>New areas of focus of the Declaration</h2>
212212
</footer>
213213
<script type='text/javascript' src='/wp-content/themes/wp-theme-openglam-master/assets/js/script.js?ver=2020.04.1' id='vocabulary-js'></script>
214214
</body>
215-
</html>
215+
</html>

src/wp-content/plugins/wp-plugin-vocabulary-blocks-master/dist/blocks.style.vocabulary.build.css renamed to docs/wp-content/plugins/wp-plugin-vocabulary-blocks-master/dist/blocks.style.vocabulary.build.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
.wp-block-cgb-block-vocabulary-blocks{background:#ff4500;border:0.2rem solid #292929;color:#292929;margin:0 auto;max-width:740px;padding:2rem}
2-
.wp-block-cgb-block-vocabulary-blocks{background:#ff4500;border:0.2rem solid #292929;color:#292929;margin:0 auto;max-width:740px;padding:2rem}
2+
.wp-block-cgb-block-vocabulary-blocks{background:#ff4500;border:0.2rem solid #292929;color:#292929;margin:0 auto;max-width:740px;padding:2rem}

src/wp-content/themes/wp-theme-openglam-master/CODE_OF_CONDUCT.md renamed to docs/wp-content/themes/wp-theme-openglam-master/CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ For a history of updates, see the [page history here][updates].
1010

1111
[code_of_conduct]: https://opensource.creativecommons.org/community/code-of-conduct/
1212
[reporting_guide]: https://opensource.creativecommons.org/community/code-of-conduct/enforcement/
13-
[updates]: https://github.com/creativecommons/creativecommons.github.io-source/commits/main/content/community/code-of-conduct/contents.lr
13+
[updates]: https://github.com/creativecommons/creativecommons.github.io-source/commits/main/content/community/code-of-conduct/contents.lr

0 commit comments

Comments
 (0)