File tree Expand file tree Collapse file tree 7 files changed +109
-27
lines changed
supplemental-ui/mlm/susecom-2025 Expand file tree Collapse file tree 7 files changed +109
-27
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ prepare-antora-mlm-en: copy-branding-en set-html-language-selector-mlm-en
48
48
cd $(current_dir)
49
49
50
50
.PHONY: antora-mlm-en
51
- antora-mlm-en: configure-mlm-branding-dsc-en prepare-antora-mlm-en pdf-all-mlm-en pdf-tar-mlm-en
51
+ antora-mlm-en: configure-mlm-branding-dsc-en prepare-antora-mlm-en # pdf-all-mlm-en pdf-tar-mlm-en
52
52
$(call antora-mlm-function,translations/en,en)
53
53
54
54
Original file line number Diff line number Diff line change 1
1
<nav class =" breadcrumbs" aria-label =" breadcrumbs" >
2
- {{ #if page.breadcrumbs }}
3
2
<ul >
4
- {{!-- Look up book title directly from YAML map --}}
5
- {{ #if (lookup site.asciidoc.attributes.book_titles page.module.name )}}
3
+ {{ #if page.breadcrumbs. [0 ]}}
6
4
<li >
7
- <a href =" {{{ relativize page.componentVersion.url }}} " >
8
- {{ lookup site.asciidoc.attributes.book_titles page.module.name }}
9
- </a >
5
+ {{ #if (and page.breadcrumbs .[0 ].url (eq page.breadcrumbs .[0 ].urlType ' internal' ))}}
6
+ <a href =" {{{ relativize page.breadcrumbs .[0 ].url }}} " >{{{ page.breadcrumbs. [0 ].content }}} </a >
7
+ {{ else }}
8
+ {{{ page.breadcrumbs. [0 ].content }}}
9
+ {{ /if }}
10
10
</li >
11
11
{{ /if }}
12
-
13
- {{!-- Remaining breadcrumbs --}}
14
- {{ #each page.breadcrumbs }}
15
- <li >
16
- {{ #if (and url (eq urlType ' internal' ))}}
17
- <a href =" {{{ relativize url }}} " >{{{ content }}} </a >
18
- {{ else }}
19
- {{{ content }}}
20
- {{ /if }}
21
- </li >
22
- {{ /each }}
23
12
</ul >
24
- {{ /if }}
25
13
</nav >
14
+
15
+
16
+
Original file line number Diff line number Diff line change 1
1
<div class =" toolbar" role =" navigation" >
2
- {{> nav-toggle }}
3
- {{ #with site.homeUrl }}
4
- <a href =" {{{ relativize this }}} " class =" home-link{{ #if @root.page.home }} is-current{{ /if }} " ></a >
5
- {{ /with }}
2
+ {{> nav-toggle }}
3
+
4
+ <a href =" https://documentation.suse.com" class =" home-link" title =" Documentation.suse.com" ></a >
5
+
6
+ <a href =" https://documentation.suse.com/multi-linux-manager/5.1/" class =" library-link" title =" SUSE Multi-Linux Manager Product Page" >
7
+ <span class =" library-text" >SUSE Multi-Linux Manager 5.1 | </span >
8
+ <img class =" library-icon" src =" {{ uiRootPath }} /img/library.svg" alt =" Library" width =" 20" height =" 20" >
9
+ </a >
10
+
11
+ {{!-- }} <a href="https://documentation.suse.com/multi-linux-manager/5.1/" class="library-link" title="SUSE Multi-Linux Manager Product Page">
12
+ <img src="{{uiRootPath}}/img/library.svg" alt="Library" width="16" height="16">
13
+ </a> --}}
14
+
6
15
{{> breadcrumbs }}
7
16
{{> page-versions }}
17
+
8
18
{{ #if (and page.fileUri (not env.CI ))}}
9
- <div class =" edit-this-page" ><a href =" {{ page.fileUri }} " >Edit this Page</a ></div >
19
+ <div class =" edit-this-page" ><a href =" {{ page.fileUri }} " >Edit this Page</a ></div >
10
20
{{ else if (and page.editUrl (or env.FORCE_SHOW_EDIT_PAGE_LINK (not page.origin.private)))}}
11
- <div class =" edit-this-page" ><a href =" {{ page.editUrl }} " >Edit this Page</a ></div >
21
+ <div class =" edit-this-page" ><a href =" {{ page.editUrl }} " >Edit this Page</a ></div >
12
22
{{ /if }}
13
23
</div >
24
+
Original file line number Diff line number Diff line change @@ -1231,4 +1231,55 @@ nav.pagination a {
1231
1231
font-weight : 500 ;
1232
1232
z-index : 3 ;
1233
1233
text-decoration : none;
1234
- }
1234
+ }
1235
+
1236
+ .toolbar .library-link {
1237
+ display : inline-flex;
1238
+ align-items : center;
1239
+ margin-left : 0.3em ;
1240
+ margin-right : 0.4em ;
1241
+ text-decoration : none;
1242
+ }
1243
+
1244
+ /* Text shown by default */
1245
+ .toolbar .library-text {
1246
+ display : inline-flex;
1247
+ }
1248
+
1249
+ /* Icon hidden by default */
1250
+ .toolbar .library-icon {
1251
+ width : 20px ;
1252
+ height : 20px ;
1253
+ display : none;
1254
+ margin : .225rem ;
1255
+ }
1256
+
1257
+ /* On mobile: hide text, show icon */
1258
+ @media (max-width : 768px ) {
1259
+ .toolbar .library-text {
1260
+ display : none;
1261
+ }
1262
+
1263
+ .toolbar .library-icon {
1264
+ display : block;
1265
+ }
1266
+ }
1267
+
1268
+ .breadcrumbs {
1269
+ padding-top : 2px ;
1270
+ }
1271
+
1272
+ @media screen and (max-width : 768px ) {
1273
+ .breadcrumbs {
1274
+ display : block !important ;
1275
+ }
1276
+ }
1277
+
1278
+ .home-link {
1279
+ margin : .225rem ;
1280
+ }
1281
+
1282
+ /*.breadcrumbs ul {
1283
+ flex-wrap: wrap;
1284
+ } */
1285
+
Original file line number Diff line number Diff line change 1
- = {productname} Index
1
+ = Index
2
2
3
3
ifeval::[{mlm-content} == true]
4
4
[.currentrel]**Version: {productnumber}**
You can’t perform that action at this time.
0 commit comments