Open jsjiang opened 7 months ago
Folder: ~/ezid/templates/info
~/ezid/templates/info$ cat README.md
The HTML files in this folder contain the HTML for the main parts of the page for the mostly static informational pages. These are in a separate "ezid-info-pages" Git repository and are in the `SITE/PROJECT/templates/info` folder in the EZID site's file system.
The "ezid-info-pages" Git repository url = https://github.com/CDLUC3/ezid-info-pages.git
Files in the templates/info folder:
ezid@uc3-ezidui-stg01:15:15:28:~/ezid/templates/info$ ls -l
total 120
-rw-r--r--. 1 ezid ezid 264 Mar 4 10:23 README.md
-rw-r--r--. 1 ezid ezid 2690 Mar 4 10:23 about_us.html
-rw-r--r--. 1 ezid ezid 4030 Mar 4 10:23 ark_open_faq.html
-rw-r--r--. 1 ezid ezid 5342 Mar 4 10:23 crossref_faq.html
-rw-r--r--. 1 ezid ezid 3785 Mar 4 10:23 doi_services_faq.html
-rw-r--r--. 1 ezid ezid 7568 Mar 4 10:23 id_basics.html
-rw-r--r--. 1 ezid ezid 15817 Mar 4 10:23 id_concepts.html
-rw-r--r--. 1 ezid ezid 5670 Mar 4 10:23 learnsub_current_users.html
-rw-r--r--. 1 ezid ezid 8876 Mar 4 10:23 learnsub_documentation.html
-rw-r--r--. 1 ezid ezid 5731 Mar 4 10:23 learnsub_faq.html
-rw-r--r--. 1 ezid ezid 2169 Mar 4 10:23 learnsub_media.html
-rw-r--r--. 1 ezid ezid 1878 Mar 4 10:23 learnsub_pricing.html
-rw-r--r--. 1 ezid ezid 1095 Mar 4 10:23 learnsub_testimonials.html
-rw-r--r--. 1 ezid ezid 3066 Mar 4 10:23 learnsub_what_is_ezid.html
drwxr-xr-x. 4 ezid ezid 4096 Mar 4 10:23 localized
-rw-r--r--. 1 ezid ezid 2770 Mar 4 10:23 open_source.html
-rw-r--r--. 1 ezid ezid 7074 Mar 4 10:23 popup_help.html
drwxr-xr-x. 2 ezid ezid 4096 Mar 4 10:23 static
-rw-r--r--. 1 ezid ezid 8188 Mar 4 10:23 suffix_passthrough.html
URL mapping:
django.urls.re_path("^learn/$", impl.ui_home.learn, name="ui_home.learn"),
django.urls.re_path("^learn/ark_open_faq$", impl.ui_home.ark_open_faq, name="ui_home.ark_open_faq"),
django.urls.re_path("^learn/crossref_faq$", impl.ui_home.crossref_faq, name="ui_home.crossref_faq"),
impl.ui_home.learn => impl.ui_common.render(request, 'learn', d) => templ = django.template.loader.get_template(f'{template}.html') => ~/ezid/templates/learn.html
impl.ui_home.ark_open_faq => impl.ui_home.ark_open_faq => impl.ui_common.render(request, 'info/ark_open_faq', d) => templ = django.template.loader.get_template(f'{template}.html') => ~/ezid/templates/ark_open_faq.html
Notes:
templates/info
folder are different than files in the ezid/static/info
and ezid/static_src/info
folders.static
and static_src
folders are used in EZID
EZID web pages contain outdated content. Export the pages in easy to review format.