diff --git a/css_overrides.css b/css_overrides.css index 2de4dbc..2585db1 100644 --- a/css_overrides.css +++ b/css_overrides.css @@ -72,3 +72,23 @@ img.orcid_logo { padding-bottom: 0; } } +/* this removes EPR and DBPR tags from the landing page banners */ + +.article-header--metadata a[href="/taxonomy/term/368"], +.article-header--metadata a[href="/taxonomy/term/369"] { + display: none; +} + +.toc-block--wide .toc--list a { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + max-width: 260px; /* or whatever width you need */ +max-width: 100%; + padding-right: 1em; +} +.toc ol.circle { + list-style-type: none; + padding-left: 1em; +} + diff --git a/templates/landing-page/page--fronter.html.twig b/templates/landing-page/page--fronter.html.twig new file mode 100644 index 0000000..1788834 --- /dev/null +++ b/templates/landing-page/page--fronter.html.twig @@ -0,0 +1,786 @@ +{# +/** + * @file + * Magazine+'s theme implementation to display a single page. + * + * The doctype, html, head and body tags are not in this template. Instead they + * can be found in the html.html.twig template normally located in the + * core/modules/system directory. + * + * Available variables: + * + * General utility variables: + * - base_path: The base URL path of the Drupal installation. Will usually be + * "/" unless you have installed Drupal in a sub-directory. + * - is_front: A flag indicating if the current page is the front page. + * - logged_in: A flag indicating if the user is registered and signed in. + * - is_admin: A flag indicating if the user has permission to access + * administration pages. + * + * Site identity: + * - front_page: The URL of the front page. Use this instead of base_path when + * linking to the front page. This includes the language domain or prefix. + * - logo: The url of the logo image, as defined in theme settings. + * - site_name: The name of the site. This is empty when displaying the site + * name has been disabled in the theme settings. + * - site_slogan: The slogan of the site. This is empty when displaying the site + * slogan has been disabled in theme settings. + + * Page content (in order of occurrence in the default page.html.twig): + * - node: Fully loaded node, if there is an automatically-loaded node + * associated with the page and the node ID is the second argument in the + * page's path (e.g. node/12345 and node/12345/revisions, but not + * comment/reply/12345). + * + * Regions: + * - page.slideout: Items for the Slideout region. + * - page.pre_header: Items for the Pre Header region. + * - page.header_top_highlighted_first: Items for the Header Top Highlighted First region. + * - page.header_top_highlighted_second: Items for the Header Top Highlighted Second region. + * - page.header_top_first: Items for the Header Top First region. + * - page.header_top_second: Items for the Header Top Second region. + * - page.header_first: Items for the Header First region. + * - page.header: Items for the Header Second region. + * - page.header_third: Items for the Header Third region. + * - page.banner: Items for the Banner region. + * - page.content_top: Items for the Content Top region. + * - page.content_top_highlighted: Items for the Content Top Highlighted region. + * - page.content: Items for the Content region. + * - page.sidebar_first: Items for the First Sidebar region. + * - page.sidebar_second: Items for the Second Sidebar region. + * - page.content_bottom_first: Items for the Content Bottom First region. + * - page.content_bottom_second: Items for the Content Bottom Second region. + * - page.featured_top: Items for the Featured Top region. + * - page.featured: Items for the Featured region. + * - page.featured_bottom: Items for the Featured Bottom region. + * - page.sub_featured: Items for the Sub Featured region. + * - page.breadcrumb: Items for the Breadcrumb region. + * - page.highlighted: Items for the Highlighted region. + * - page.pre_content_first: Items for the Pre Content First region. + * - page.pre_content_second: Items for the Pre Content Second region. + * - page.footer_top_first: Items for the Footer Top First region. + * - page.footer_top_second: Items for the Footer Top Second region. + * - page.footer_first: Items for the Footer First region. + * - page.footer_second: Items for the Footer Second region. + * - page.footer_third: Items for the Footer Third region. + * - page.footer_fourth: Items for the Footer Fourth region. + * - page.footer_fifth: Items for the Footer Fifth region. + * - page.footer_bottom_first: Items for the Footer Bottom First region. + * - page.footer_bottom_second: Items for the Footer Bottom Second region. + * - page.sub_footer_first: Items for the Subfooter First region. + * - page.footer: Items for the Subfooter Second region. + * + * @see template_preprocess_page() + * @see html.html.twig + */ +#} +{{ attach_library('lmmi_journal/slick-slider') }} +{% if page.slideout %} + {# slideout #} +
+ {# EOF: slideout #} + + {# EOF: slideout-toggle #} + + {# EOF: slideout-toggle #} +{% endif %} + +{# page-container #} +